fix python-tests.yml

This commit is contained in:
Sina Atalay 2023-10-10 20:16:32 +02:00 committed by GitHub
parent fe13abfc87
commit 8833d55f47
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ jobs:
pip install pytest pytest-cov
pytest --cov-report html --cov="." tests/
- name: Upload coverage data to smokeshow
run: smokeshow upload ./htmlcov
run: |
pip install smokeshow
smokeshow upload ./htmlcov
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: CLI Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50