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