mirror of https://github.com/eyhc1/rendercv.git
fix .coveragerc
This commit is contained in:
parent
d639e11651
commit
b19216b733
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in New Issue