Skip to content

Commit

Permalink
Print toolchain information
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Jun 20, 2023
1 parent 3278b9c commit 73d7343
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/kuksa_databroker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,19 @@ jobs:
crate: cargo2junit
version: latest

- name: Show toolchain information
working-directory: ${{github.workspace}}
run: |
rustup toolchain list
cargo --version
cargo +nightly version
- name: Run Tests
working-directory: ${{github.workspace}}
run: |
# report-time is an experimental feature, and that is why we must use nightly version and install it above
cargo +nightly test --all-targets -- -Z unstable-options --report-time --format json --test-threads=1| tee results.json
cat results.json | cargo2junit > results.xml
#cargo +nightly test --all-targets -- -Z unstable-options --report-time --format json --test-threads=1 | cargo2junit > results.xml;
# - name: Publish test results as PR comment
# uses: EnricoMi/publish-unit-test-result-action@v1
Expand Down

0 comments on commit 73d7343

Please sign in to comment.