Skip to content

Commit

Permalink
Merge pull request 'use cargo nextest in CI for testing' (#83) from u…
Browse files Browse the repository at this point in the history
…se-nextest-as-test-runner-ci into main

Reviewed-on: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/83
  • Loading branch information
robamu committed Apr 4, 2024
2 parents fe52657 + 57adb61 commit 9711159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions automation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ RUN rustup install nightly && \
rustup target add thumbv7em-none-eabihf armv7-unknown-linux-gnueabihf && \
rustup component add rustfmt clippy llvm-tools-preview

# Get grcov
RUN curl -sSL https://github.com/mozilla/grcov/releases/download/v0.8.19/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar -xj --directory /usr/local/bin
# Get nextest
RUN curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin

# SSH stuff to allow deployment to doc server
RUN adduser --uid 114 jenkins
Expand Down
3 changes: 2 additions & 1 deletion automation/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ pipeline {
}
stage('Test') {
steps {
sh 'cargo test --all-features'
sh 'cargo nextest r --all-features'
sh 'cargo test --doc'
}
}
stage('Check with all features') {
Expand Down

0 comments on commit 9711159

Please sign in to comment.