This commit is contained in:
Sina Atalay 2023-10-14 22:41:08 +02:00
parent ffe637b7ef
commit 4c83133929
2 changed files with 4 additions and 3 deletions

View File

@ -56,10 +56,9 @@ jobs:
run: | run: |
pip install pytest pytest-cov pip install pytest pytest-cov
touch .coveragerc touch .coveragerc
echo -e "[run]\nrelative_files = True" > .coveragerc echo $"[run]\nrelative_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 }}
continue-on-error: true
- name: Store coverage files - name: Store coverage files
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@ -91,6 +90,8 @@ jobs:
run: | run: |
pip install coverage pip install coverage
ls -la coverage ls -la coverage
touch .coveragerc
echo $"[run]\nrelative_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 }}"

View File

@ -1,4 +1,4 @@
name: build and deploy documentation name: Deploy documentation
on: on:
push: push:
branches: branches: