|
43 | 43 | # chunk into chunks of 10 tests each. idk at this point |
44 | 44 | while subtests=("${alltests[@]:$i:10}"); [[ ${#subtests[@]} -ne 0 ]]; do |
45 | 45 | LLVM_PROFILE_FILE="$PWD/regrtest-%p.profraw" target/release/rustpython -m test -v "${subtests[@]}" || true |
46 | | - ((i+=1)) |
| 46 | + ((i+=10)) |
47 | 47 | done |
48 | 48 | continue-on-error: true |
49 | 49 | - name: prepare code coverage data |
|
91 | 91 | cd website |
92 | 92 | cp ../extra_tests/cpython_tests_results.json ./_data/regrtests_results.json |
93 | 93 | git add ./_data/regrtests_results.json |
94 | | - git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update regression test results" --author="$GITHUB_ACTOR" && \ |
| 94 | + if git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update regression test results" --author="$GITHUB_ACTOR"; then |
95 | 95 | git push |
| 96 | + fi |
96 | 97 |
|
97 | 98 | whatsleft: |
98 | 99 | name: Collect what is left data |
@@ -128,8 +129,9 @@ jobs: |
128 | 129 | [ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp |
129 | 130 | cp ../whats_left.temp ./_data/whats_left.temp |
130 | 131 | git add -A |
131 | | - git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update what is left results" --author="$GITHUB_ACTOR" && \ |
| 132 | + if git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update what is left results" --author="$GITHUB_ACTOR"; then |
132 | 133 | git push |
| 134 | + fi |
133 | 135 |
|
134 | 136 | benchmark: |
135 | 137 | name: Collect benchmark data |
@@ -178,8 +180,9 @@ jobs: |
178 | 180 | rm -rf ./assets/criterion |
179 | 181 | cp -r ../target/criterion ./assets/criterion |
180 | 182 | git add ./assets/criterion |
181 | | - git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update benchmark results" && \ |
| 183 | + if git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update benchmark results"; then |
182 | 184 | git push |
| 185 | + fi |
183 | 186 |
|
184 | 187 | lalrpop: |
185 | 188 | name: Generate parser with lalrpop |
|
0 commit comments