Skip to content

Commit c590ebb

Browse files
author
tilo-14
committed
Fix native workspace test failures
Split basic-operations/native workspace tests to run individual packages sequentially. This prevents multiple tests from starting prover instances simultaneously.
1 parent fa61caf commit c590ebb

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/rust-tests.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
test-rust:
22-
name: ${{ matrix.example }}
22+
name: ${{ matrix.package && format('{0}/{1}', matrix.example, matrix.package) || matrix.example }}
2323
runs-on: ubuntu-latest
2424
strategy:
2525
fail-fast: false
@@ -30,7 +30,17 @@ jobs:
3030
- counter/pinocchio
3131
- account-comparison
3232
- zk-id
33-
- basic-operations/native
33+
include:
34+
- example: basic-operations/native
35+
package: native-program-burn
36+
- example: basic-operations/native
37+
package: native-program-create
38+
- example: basic-operations/native
39+
package: native-program-update
40+
- example: basic-operations/native
41+
package: native-program-close
42+
- example: basic-operations/native
43+
package: native-program-reinit
3444
steps:
3545
- uses: actions/checkout@v4
3646

@@ -49,4 +59,9 @@ jobs:
4959

5060
- name: Build and test
5161
working-directory: ${{ matrix.example }}
52-
run: cargo test-sbf
62+
run: |
63+
if [ -n "${{ matrix.package }}" ]; then
64+
cargo test-sbf -p ${{ matrix.package }}
65+
else
66+
cargo test-sbf
67+
fi

0 commit comments

Comments
 (0)