Skip to content

Commit

Permalink
run tests with --release on CI too
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Oct 5, 2023
1 parent 6229ce9 commit 11f34bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:

- name: Run unit tests
run: cargo test --lib --features "strict"
- name: Run unit tests (release)
run: cargo test --lib --release --features "strict"
- name: Run unit tests (with mpi enabled)
run: cargo test --lib --features "mpi,strict"
- name: Run unit tests (release with mpi enabled)
run: cargo test --lib --release --features "mpi,strict"
- name: Run tests
run: cargo test --examples --release --features "mpi,strict"
- name: Run examples
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-weekly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ jobs:
- name: Build rust library (release with mpi)
run: cargo build --release --features "strict,mpi"


- name: Run unit tests
run: cargo test --lib --features "strict"
- name: Run unit tests (release)
run: cargo test --lib --release --features "strict"
- name: Run unit tests (with mpi enabled)
run: cargo test --lib --features "mpi,strict"
- name: Run unit tests (release with mpi enabled)
run: cargo test --lib --release --features "mpi,strict"
- name: Run tests
run: cargo test --examples --release --features "mpi,strict"
- name: Run examples
Expand Down

0 comments on commit 11f34bc

Please sign in to comment.