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: |
|
run: |
|
||||||
pip install pytest pytest-cov
|
pip install pytest pytest-cov
|
||||||
touch .coveragerc
|
touch .coveragerc
|
||||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
echo "[run]" > .coveragerc
|
||||||
|
echo "relative_files = True" >> .coveragerc
|
||||||
pytest --cov="rendercv" tests/
|
pytest --cov="rendercv" tests/
|
||||||
mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
||||||
|
|
||||||
|
@ -91,7 +92,8 @@ jobs:
|
||||||
pip install coverage
|
pip install coverage
|
||||||
ls -la coverage
|
ls -la coverage
|
||||||
touch .coveragerc
|
touch .coveragerc
|
||||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
echo "[run]" > .coveragerc
|
||||||
|
echo "relative_files = True" >> .coveragerc
|
||||||
coverage combine coverage
|
coverage combine coverage
|
||||||
coverage report
|
coverage report
|
||||||
coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}"
|
coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}"
|
||||||
|
|
Loading…
Reference in New Issue