File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,39 @@ jobs:
197197 cargo install cargo-make --force
198198 fi
199199 - name : Test
200+ # Skip running the `new_project_integration_tests_pass` test since it
201+ # is a disc space hog.
200202 run : |
201- cargo make test -E 'package(cargo-miden)'
203+ cargo make test -E 'package(cargo-miden) - test(new_project_integration_tests_pass)'
204+
205+ cargo_miden_tests_mpt :
206+ name : cargo-miden test Miden project template
207+ runs-on : ubuntu-latest
208+ # We only want to run the integration tests if the unit tests pass, and that has the added
209+ # benefit that we can re-use the cache from the unit test job for all integration tests
210+ needs : [unit_tests]
211+ steps :
212+ - uses : actions/checkout@v5
213+ - name : Install Rust
214+ run : |
215+ rustup update --no-self-update
216+ rustc --version
217+ - name : Cache Cargo
218+ uses : Swatinem/rust-cache@v2
219+ with :
220+ shared-key : ${{ github.workflow }}-shared-tests
221+ prefix-key : ${{ env.RUST_CACHE_KEY }}
222+ # Do not persist the cache, leave that to the unit tests, we just use the cache here
223+ save-if : false
224+ - name : Install cargo-make
225+ run : |
226+ if ! cargo make --version 2>/dev/null; then
227+ cargo install cargo-make --force
228+ fi
229+ - name : Test
230+ run : |
231+ cargo make test -E 'test(new_project_integration_tests_pass)'
232+
202233
203234 miden_integration_node_tests :
204235 name : miden integration node tests
You can’t perform that action at this time.
0 commit comments