Skip to content

Commit

Permalink
Fix CI test fails
Browse files Browse the repository at this point in the history
Due to '-Z unstable-options' not being accepted by stable toolchain from Rust '1.70.0'.
  • Loading branch information
jpraynaud committed Jun 5, 2023
1 parent 0852ce6 commit 9682d63
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -128,9 +128,11 @@ jobs:
shell: bash
run: |
set -o pipefail && \
cargo test --no-fail-fast ${{ matrix.test-args }} \
-- -Z unstable-options --format json --report-time \
| tee >(cargo2junit > test-results${{ matrix.artifact-suffix }}-${{ runner.os }}-${{ runner.arch }}.xml)
cargo test --no-fail-fast ${{ matrix.test-args }}
# TODO: Previous command that uses unstable options which are not supported anymore in stable toolchain
#cargo test --no-fail-fast ${{ matrix.test-args }} \
# -- -Z unstable-options --format json --report-time \
# | tee >(cargo2junit > test-results${{ matrix.artifact-suffix }}-${{ runner.os }}-${{ runner.arch }}.xml)
- name: Upload Tests Results
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -230,7 +232,9 @@ jobs:
if-no-files-found: error

publish-tests-results:
if: success() || failure()
# TODO: reactivate when cargo test errors exprt to json works in stable version
#if: success() || failure()
if: false
runs-on: ubuntu-22.04
needs:
- test
Expand Down

0 comments on commit 9682d63

Please sign in to comment.