Skip to content

Commit

Permalink
Increased stack size to make sure tests can work on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tbetcke committed Dec 4, 2024
1 parent b65e4a1 commit 8166169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: actions/checkout@v3
with:
submodules: 'true'
submodules: "true"

- name: Install Clang
run: sudo apt-get install -y libclang-dev
Expand All @@ -51,9 +51,9 @@ jobs:
cargo clippy --examples -- -D warnings
- name: Run unit tests (debug)
run: cargo test --features "mpi,strict"
run: RUST_MIN_STACK=8388608 cargo test --features "mpi,strict"
- name: Run tests (release)
run: cargo test --examples --release --features "mpi,strict"
run: RUST_MIN_STACK=8388608 cargo test --examples --release --features "mpi,strict"
- name: Run examples
run: |
python3 find_examples.py --features "strict"
Expand Down Expand Up @@ -81,5 +81,4 @@ jobs:
run: cargo install cargo-upgrades
- uses: actions/checkout@v3
- name: Check that dependencies are up to date
run:
cargo upgrades
run: cargo upgrades
17 changes: 0 additions & 17 deletions examples/test_inverse.rs

This file was deleted.

0 comments on commit 8166169

Please sign in to comment.