Skip to content

Commit 79a868c

Browse files
committed
try another cron ci fix
1 parent 454a21b commit 79a868c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ jobs:
3838
continue-on-error: true
3939
- name: run cpython tests
4040
run: |
41-
# run test_importlib separately, otherwise it hangs (?)
42-
LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v test_importlib
43-
LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v -x test_importlib
41+
alltests=($(target/release/rustpython -c 'from test.libregrtest.runtest import findtests; print(*findtests())'))
42+
i=0
43+
# chunk into chunks of 10 tests each. idk at this point
44+
while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -eq 0 ]]; do
45+
LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v "${subtests[@]}"
46+
done
4447
continue-on-error: true
4548
- name: prepare code coverage data
4649
run: |

0 commit comments

Comments
 (0)