Skip to content

Commit

Permalink
fix(ci): 🐛 Run tests only on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiralOutDotEu committed Nov 2, 2023
1 parent 80987df commit 81f0e16
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
profile: minimal
toolchain: stable
override: true
- name: Build and test
- name: Test
if: matrix.os == 'ubuntu-latest'
run: |
cargo test
- name: Build
run: |
cargo build --release
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
cargo test
fi
env:
CARGO_TARGET_DIR: ${{ runner.temp }}/target
- name: Setup Node.js
Expand Down

0 comments on commit 81f0e16

Please sign in to comment.