Skip to content

Commit

Permalink
Add --release flag on tests in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Aug 19, 2024
1 parent 0e36a9d commit ad68cab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ruskwallet_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ jobs:

test_nightly-linux:
name: "[Linux] Nightly tests"
runs-on: core
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: cargo test --release
working-directory: ./rusk-wallet
- run: cargo clippy --all-features --release -- -D warnings
working-directory: ./rusk-wallet

Expand All @@ -66,7 +67,7 @@ jobs:
- name: Add arm target for Apple Silicon build
run: rustup target add aarch64-apple-darwin

- run: cargo test
- run: cargo test --release
working-directory: ./rusk-wallet

test_nightly-macm1:
Expand All @@ -80,7 +81,7 @@ jobs:
- name: Add arm target for Apple Silicon build
run: rustup target add aarch64-apple-darwin

- run: cargo check --target=aarch64-apple-darwin
- run: cargo check --target=aarch64-apple-darwin --release
working-directory: ./rusk-wallet

test_nightly-win:
Expand All @@ -91,5 +92,5 @@ jobs:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1

- run: cargo test
- run: cargo test --release
working-directory: ./rusk-wallet

0 comments on commit ad68cab

Please sign in to comment.