mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-23 20:58:59 -04:00
fix .coveragerc
This commit is contained in:
1 parent
d639e11651
commit
b19216b733
1 file changed
+4
-2
@@ -56,7 +56,8 @@ jobs:
|
||||
run: |
|
||||
pip install pytest pytest-cov
|
||||
touch .coveragerc
|
||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
||||
echo "[run]" > .coveragerc
|
||||
echo "relative_files = True" >> .coveragerc
|
||||
pytest --cov="rendercv" tests/
|
||||
mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
||||
|
||||
@@ -91,7 +92,8 @@ jobs:
|
||||
pip install coverage
|
||||
ls -la coverage
|
||||
touch .coveragerc
|
||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
||||
echo "[run]" > .coveragerc
|
||||
echo "relative_files = True" >> .coveragerc
|
||||
coverage combine coverage
|
||||
coverage report
|
||||
coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}"
|
||||
|
||||
Reference in new issue
Block a user