Skip to content

Commit eb489e6

Browse files
committed
perf(ci): skip redundant integration tests via pytest -k filter
Add TEST_ARGS to the CI integration test step to skip: - test_exec_smir[*-llvm]: keep Haskell backend only, since it's the backend used for proving and bugs there have higher impact - test_prove_termination: the same 19 programs are already executed via test_exec_smir[*-haskell] This deselects 58 of 247 tests (39 LLVM exec + 19 prove_termination) without modifying any test code — tests remain available for local use. Expected CI time reduction: ~2h37m → ~1h20m. Resolves #971 (Phase 1)
1 parent 7258cfb commit eb489e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ jobs:
6666
- name: 'Build stable-mir-json and kmir'
6767
run: docker exec --user github-user mir-semantics-ci-${GITHUB_SHA} make build
6868
- name: 'Run integration tests'
69-
run: docker exec --user github-user mir-semantics-ci-${GITHUB_SHA} make test-integration
69+
run: |
70+
docker exec --user github-user mir-semantics-ci-${GITHUB_SHA} make test-integration \
71+
TEST_ARGS='-k not (test_exec_smir and llvm) and not test_prove_termination'
7072
- name: 'Tear down Docker'
7173
if: always()
7274
run: docker stop --time 0 mir-semantics-ci-${GITHUB_SHA}

0 commit comments

Comments
 (0)