Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuwei Ba <[email protected]>
  • Loading branch information
ibigbug authored Mar 28, 2024
1 parent ebdb619 commit 5d18edb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ jobs:
run: cargo check --all --all-features
- name: Run cargo clippy
run: cargo clippy --all --all-features -- -D warnings
- name: Run cargo test
if: ${{ matrix.os }} == 'windows-2022'
run: $env:CLASH_RS_CI="true"; cargo test --all --all-features
- name: Run cargo test
if: ${{ matrix.os }} == 'ubuntu-22.04'
run: CLASH_RS_CI=true cargo test --all --all-features
- name: Run cargo test on non-macos
if: ${{ matrix.os }} != 'macos-13'
run: cargo test --all --all-features
env:
CLASH_RS_CI: 'true'
- name: Run cargo test on macos
if: ${{ matrix.os }} == 'macos-13'
run: cargo test --all --all-features
Expand Down

0 comments on commit 5d18edb

Please sign in to comment.