mirror of https://github.com/eyhc1/rendercv.git
fix ci
This commit is contained in:
parent
ffe637b7ef
commit
4c83133929
|
@ -56,10 +56,9 @@ jobs:
|
|||
run: |
|
||||
pip install pytest pytest-cov
|
||||
touch .coveragerc
|
||||
echo -e "[run]\nrelative_files = True" > .coveragerc
|
||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
||||
pytest --cov="rendercv" tests/
|
||||
mv .coverage .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
|
||||
- name: Store coverage files
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -91,6 +90,8 @@ jobs:
|
|||
run: |
|
||||
pip install coverage
|
||||
ls -la coverage
|
||||
touch .coveragerc
|
||||
echo $"[run]\nrelative_files = True" > .coveragerc
|
||||
coverage combine coverage
|
||||
coverage report
|
||||
coverage html --show-contexts --title "RenderCV coverage for ${{ github.sha }}"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: build and deploy documentation
|
||||
name: Deploy documentation
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
Loading…
Reference in New Issue