Skip to content

Commit 7a688e0

Browse files
committed
fix cron ci
1 parent ad88d47 commit 7a688e0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# chunk into chunks of 10 tests each. idk at this point
4444
while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -ne 0 ]]; do
4545
LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v "${subtests[@]}" || true
46-
((i+=1))
46+
((i+=10))
4747
done
4848
continue-on-error: true
4949
- name: prepare code coverage data
@@ -91,8 +91,9 @@ jobs:
9191
cd website
9292
cp ../extra_tests/cpython_tests_results.json ./_data/regrtests_results.json
9393
git add ./_data/regrtests_results.json
94-
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update regression test results" --author="$GITHUB_ACTOR" && \
94+
if git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update regression test results" --author="$GITHUB_ACTOR"; then
9595
git push
96+
fi
9697
9798
whatsleft:
9899
name: Collect what is left data
@@ -128,8 +129,9 @@ jobs:
128129
[ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp
129130
cp ../whats_left.temp ./_data/whats_left.temp
130131
git add -A
131-
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update what is left results" --author="$GITHUB_ACTOR" && \
132+
if git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update what is left results" --author="$GITHUB_ACTOR"; then
132133
git push
134+
fi
133135
134136
benchmark:
135137
name: Collect benchmark data
@@ -178,8 +180,9 @@ jobs:
178180
rm -rf ./assets/criterion
179181
cp -r ../target/criterion ./assets/criterion
180182
git add ./assets/criterion
181-
git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update benchmark results" && \
183+
if git -c user.name="Github Actions" -c user.email="[email protected]" commit -m "Update benchmark results"; then
182184
git push
185+
fi
183186
184187
lalrpop:
185188
name: Generate parser with lalrpop

0 commit comments

Comments
 (0)