mirror of https://github.com/eyhc1/rendercv.git
upload coverage data to smokeshow
This commit is contained in:
parent
e590901120
commit
fe13abfc87
|
@ -38,8 +38,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install pytest pytest-cov
|
pip install pytest pytest-cov
|
||||||
pytest --cov-report html --cov="." tests/
|
pytest --cov-report html --cov="." tests/
|
||||||
- name: Upload coverage data
|
- name: Upload coverage data to smokeshow
|
||||||
uses: actions/upload-artifact@v3
|
run: smokeshow upload ./htmlcov
|
||||||
with:
|
env:
|
||||||
name: htmlcov
|
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: CLI Coverage {coverage-percentage}
|
||||||
path: ./htmlcov
|
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
|
||||||
|
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
Loading…
Reference in New Issue