Skip to content

Commit

Permalink
Fix CI file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Sep 15, 2024
1 parent 43ce896 commit b763e6a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,16 @@ jobs:
with:
path: ~/.cargo
key: ${{ runner.os }}-coverage-dotcargo
- name: Run test
- name: Run test (Unix)
run: RUSTFLAGS="--cfg all_tests" cargo test --all-features

if: matrix.os != 'windows-latest'
- name: Run test (Windows)
shell: pwsh
run: |
$env:RUSTFLAGS="--cfg all_tests"
cargo test --all-features
if: matrix.os == 'windows-latest'

sanitizer:
name: sanitizer
strategy:
Expand Down

0 comments on commit b763e6a

Please sign in to comment.