1818 cairo_programs/**/*.json
1919 !cairo_programs/manually_compiled/*
2020 cairo_programs/cairo-1-programs/bitwise.sierra
21+ vm/src/tests/cairo_test_suite/**/*.json
2122 TEST_COLLECT_COVERAGE : 1
2223 PROPTEST_CASES : 100
2324
4647 - cairo_bench_programs
4748 - cairo_proof_programs
4849 - cairo_test_programs
50+ - cairo_test_suite_programs
4951 - cairo_1_test_contracts
5052 - cairo_2_test_contracts
5153 name : Build Cairo programs
6668 id : cache-programs
6769 with :
6870 path : ${{ env.CAIRO_PROGRAMS_PATH }}
69- key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
71+ key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
7072
7173 # This is not pretty, but we need `make` to see the compiled programs are
7274 # actually newer than the sources, otherwise it will try to rebuild them
@@ -120,37 +122,43 @@ jobs:
120122 uses : actions/cache/restore@v3
121123 with :
122124 path : ${{ env.CAIRO_PROGRAMS_PATH }}
123- key : cairo_test_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
125+ key : cairo_test_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
124126 fail-on-cache-miss : true
125127 - name : Fetch proof programs
126128 uses : actions/cache/restore@v3
127129 with :
128130 path : ${{ env.CAIRO_PROGRAMS_PATH }}
129- key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
131+ key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
130132 fail-on-cache-miss : true
131133 - name : Fetch bench programs
132134 uses : actions/cache/restore@v3
133135 with :
134136 path : ${{ env.CAIRO_PROGRAMS_PATH }}
135- key : cairo_bench_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
137+ key : cairo_bench_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', 'Makefile', 'requirements.txt') }}
138+ fail-on-cache-miss : true
139+ - name : Fetch cairo test suite programs
140+ uses : actions/cache/restore@v3
141+ with :
142+ path : ${{ env.CAIRO_PROGRAMS_PATH }}
143+ key : cairo_test_suite_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', 'Makefile', 'requirements.txt') }}
136144 fail-on-cache-miss : true
137145 - name : Fetch test contracts (Cairo 1)
138146 uses : actions/cache/restore@v3
139147 with :
140148 path : ${{ env.CAIRO_PROGRAMS_PATH }}
141- key : cairo_1_test_contracts-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
149+ key : cairo_1_test_contracts-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
142150 fail-on-cache-miss : true
143151 - name : Fetch test contracts (Cairo 2)
144152 uses : actions/cache/restore@v3
145153 with :
146154 path : ${{ env.CAIRO_PROGRAMS_PATH }}
147- key : cairo_2_test_contracts-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
155+ key : cairo_2_test_contracts-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
148156 fail-on-cache-miss : true
149157 - name : Merge caches
150158 uses : actions/cache/save@v3
151159 with :
152160 path : ${{ env.CAIRO_PROGRAMS_PATH }}
153- key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
161+ key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
154162
155163 lint :
156164 needs : merge-caches
@@ -179,7 +187,7 @@ jobs:
179187 uses : actions/cache/restore@v3
180188 with :
181189 path : ${{ env.CAIRO_PROGRAMS_PATH }}
182- key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
190+ key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
183191 fail-on-cache-miss : true
184192
185193 - name : Run clippy
@@ -229,7 +237,7 @@ jobs:
229237 uses : actions/cache/restore@v3
230238 with :
231239 path : ${{ env.CAIRO_PROGRAMS_PATH }}
232- key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
240+ key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
233241 fail-on-cache-miss : true
234242
235243 # NOTE: we do this separately because --workspace operates in weird ways
@@ -274,7 +282,7 @@ jobs:
274282 uses : actions/cache/restore@v3
275283 with :
276284 path : ${{ env.CAIRO_PROGRAMS_PATH }}
277- key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
285+ key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
278286 fail-on-cache-miss : true
279287
280288 - name : Check all features (workspace)
@@ -309,7 +317,7 @@ jobs:
309317 uses : actions/cache/restore@v3
310318 with :
311319 path : ${{ env.CAIRO_PROGRAMS_PATH }}
312- key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
320+ key : all-programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
313321 fail-on-cache-miss : true
314322
315323 - name : Install testing tools
@@ -329,7 +337,7 @@ jobs:
329337 export PARTITION=${MATRIX_TARGET#*#}
330338 cargo llvm-cov nextest --lcov --output-path lcov-${{ matrix.target }}-${{ matrix.special_features }}.info \
331339 --partition count:${PARTITION}/4 \
332- --workspace --features "cairo-1-hints, test_utils, ${{ matrix.special_features }}"
340+ --workspace --features "cairo-1-hints, test_utils, function_runner, ${{ matrix.special_features }}"
333341
334342 - name : Save coverage
335343 uses : actions/cache/save@v3
@@ -409,7 +417,7 @@ jobs:
409417 uses : actions/cache/restore@v3
410418 with :
411419 path : ${{ env.CAIRO_PROGRAMS_PATH }}
412- key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
420+ key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
413421 fail-on-cache-miss : true
414422
415423 # This is not pretty, but we need `make` to see the compiled programs are
@@ -456,7 +464,7 @@ jobs:
456464 uses : actions/cache/restore@v3
457465 with :
458466 path : ${{ env.CAIRO_PROGRAMS_PATH }}
459- key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
467+ key : ${{ matrix.program-target }}-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
460468 fail-on-cache-miss : true
461469
462470 - name : Generate traces
@@ -675,7 +683,7 @@ jobs:
675683 uses : actions/cache/restore@v3
676684 with :
677685 path : ${{ env.CAIRO_PROGRAMS_PATH }}
678- key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
686+ key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
679687 fail-on-cache-miss : true
680688
681689 - name : Run script
@@ -715,7 +723,7 @@ jobs:
715723 uses : actions/cache/restore@v3
716724 with :
717725 path : ${{ env.CAIRO_PROGRAMS_PATH }}
718- key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'Makefile', 'requirements.txt') }}
726+ key : cairo_proof_programs-cache-${{ hashFiles('cairo_programs/**/*.cairo', 'vm/src/tests/cairo_test_suite/**/*.cairo', ' Makefile', 'requirements.txt') }}
719727 fail-on-cache-miss : true
720728
721729 - name : Fetch pie
0 commit comments