update CI

This commit is contained in:
Sina Atalay
2023-12-03 18:09:39 +01:00
parent ac4d0e3484
commit bb7be23aea

View File

@@ -69,8 +69,9 @@ jobs:
name: coverage
path: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
combine-coverages:
name: Upload coverage report
report-coverage:
if: github.event_name == 'push'
name: Generate a coverage report
needs: [test]
runs-on: ubuntu-latest
@@ -108,6 +109,7 @@ jobs:
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
publish:
if: github.event_name == 'release'
name: Publish to PyPI