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: |
|
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 }}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: build and deploy documentation
|
name: Deploy documentation
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Reference in New Issue