File tree Expand file tree Collapse file tree 2 files changed +20
-18
lines changed
Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -123,30 +123,19 @@ jobs:
123123 - uses : Swatinem/rust-cache@v2
124124 - run : scripts/cairo_fmt.sh --check
125125
126- parallel-cairo-tests :
126+ # Checks that all Cairo code tests run correctly.
127+ cairotest :
127128 runs-on : ubuntu-latest
128- strategy :
129- matrix :
130- cmd :
131- - corelib/
132- - tests/bug_samples --starknet
133- - crates/cairo-lang-starknet/cairo_level_tests/ --starknet
134129 steps :
135130 - uses : actions/checkout@v6
136131 - uses : dtolnay/rust-toolchain@stable
137132 - uses : Swatinem/rust-cache@v2
138133 - run : |
139- cargo run --profile=ci-dev --bin cairo-test -- ${{ matrix.cmd }}
140- # Checks that all Cairo code tests run correctly.
141- cairotest :
142- if : ${{ always() }}
143- needs : parallel-cairo-tests
144- runs-on : ubuntu-latest
145- steps :
146- - if : needs.parallel-cairo-tests.result == 'success'
147- run : exit 0
148- - if : needs.parallel-cairo-tests.result != 'success'
149- run : exit 1
134+ cargo run --profile=release --bin cairo-test -- corelib/
135+ - run : |
136+ cargo run --profile=release --bin cairo-test -- tests/bug_samples --starknet
137+ - run : |
138+ cargo run --profile=release --bin cairo-test -- crates/cairo-lang-starknet/cairo_level_tests/ --starknet
150139
151140 # Checks that error codes are not duplicated.
152141 error-code-check :
Original file line number Diff line number Diff line change 3030 - run : >
3131 scripts/clippy.sh
3232
33+ cairotest :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v6
37+ - uses : dtolnay/rust-toolchain@stable
38+ - uses : Swatinem/rust-cache@v2
39+ - run : |
40+ cargo run --profile=ci-dev --bin cairo-test -- corelib/
41+ - run : |
42+ cargo run --profile=ci-dev --bin cairo-test -- tests/bug_samples --starknet
43+ - run : |
44+ cargo run --profile=ci-dev --bin cairo-test -- crates/cairo-lang-starknet/cairo_level_tests/ --starknet
45+
3346 docs :
3447 runs-on : ubuntu-latest
3548 steps :
You can’t perform that action at this time.
0 commit comments