Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14aa785

Browse files
committed
build: upload reports before maybe failing a goal check
1 parent e2f3dec commit 14aa785

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,6 @@ jobs:
227227
set -xe
228228
python igor.py combine_html
229229
230-
- name: "Check targets"
231-
run: |
232-
# Maybe someday goals will be a real feature
233-
python -m pip install wcmatch
234-
# Very crude check that nothing catastrophic has happened.
235-
python lab/goals.py --group 90 "coverage/*.py" "tests/*.py"
236-
# Absolutely all of our test code should be covered.
237-
python lab/goals.py --file 100 "tests/test_*.py"
238-
239230
- name: "Upload HTML report"
240231
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
241232
with:
@@ -256,6 +247,15 @@ jobs:
256247
run: |
257248
echo "total=$(python -m coverage report --format=total)" >> $GITHUB_OUTPUT
258249
250+
- name: "Check targets"
251+
run: |
252+
# Maybe someday goals will be a real feature
253+
python -m pip install wcmatch
254+
# Very crude check that nothing catastrophic has happened.
255+
python lab/goals.py --group 90 "coverage/*.py" "tests/*.py"
256+
# Absolutely all of our test code should be covered.
257+
python lab/goals.py --file 100 "tests/test_*.py"
258+
259259
publish:
260260
name: "Publish coverage report"
261261
needs: combine

0 commit comments

Comments
 (0)