mirror of
https://github.com/rendercv/rendercv.git
synced 2026-01-18 02:08:22 -05:00
upload coverage data to smokeshow
This commit is contained in:
12
.github/workflows/python-tests.yml
vendored
12
.github/workflows/python-tests.yml
vendored
@@ -38,8 +38,10 @@ jobs:
|
||||
run: |
|
||||
pip install pytest pytest-cov
|
||||
pytest --cov-report html --cov="." tests/
|
||||
- name: Upload coverage data
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: htmlcov
|
||||
path: ./htmlcov
|
||||
- name: Upload coverage data to smokeshow
|
||||
run: smokeshow upload ./htmlcov
|
||||
env:
|
||||
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: CLI Coverage {coverage-percentage}
|
||||
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
|
||||
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
Reference in New Issue
Block a user