Skip to content

Commit 0801469

Browse files
committed
cron ci fix
1 parent 79a868c commit 0801469

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
alltests=($(target/release/rustpython -c 'from test.libregrtest.runtest import findtests; print(*findtests())'))
4242
i=0
4343
# chunk into chunks of 10 tests each. idk at this point
44-
while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -eq 0 ]]; do
44+
while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -ne 0 ]]; do
4545
LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v "${subtests[@]}"
4646
done
4747
continue-on-error: true
@@ -90,8 +90,8 @@ jobs:
9090
cd website
9191
cp ../extra_tests/cpython_tests_results.json ./_data/regrtests_results.json
9292
git add ./_data/regrtests_results.json
93-
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update regression test results" --author="$GITHUB_ACTOR"
94-
git push
93+
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update regression test results" --author="$GITHUB_ACTOR" && \
94+
git push
9595
9696
whatsleft:
9797
name: Collect what is left data

0 commit comments

Comments
 (0)