Skip to content

Commit 8de95a8

Browse files
committed
Maybe actually fix the coverage ci
1 parent 28ccdc2 commit 8de95a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pytest.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
# Need relative files for the action to report, but it messes up mutmut
4141
echo "[run]" >> .coveragerc
4242
echo "relative_files = true" >> .coveragerc
43-
cat .coveragerc
4443
4544
hatch run dev:pytest
4645
env:
@@ -66,6 +65,11 @@ jobs:
6665
with:
6766
pattern: coverage-*
6867
merge-multiple: true
68+
- name: Re-add relative so the action is happy
69+
run: |
70+
# Need relative files for the action to report, but it messes up mutmut
71+
echo "[run]" >> .coveragerc
72+
echo "relative_files = true" >> .coveragerc
6973
- name: Python Coverage Comment
7074
uses: py-cov-action/python-coverage-comment-action@b2eb38dd175bf053189b35f738f9207278b00925
7175
with:

0 commit comments

Comments
 (0)