mirror of
https://github.com/rendercv/rendercv.git
synced 2026-05-19 06:06:04 -04:00
fix .coveragerc
This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@@ -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