mirror of https://github.com/eyhc1/rendercv.git
update CI
This commit is contained in:
parent
eab4a8139b
commit
24ed2f2492
|
@ -69,8 +69,9 @@ jobs:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
path: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
|
||||||
|
|
||||||
combine-coverages:
|
report-coverage:
|
||||||
name: Upload coverage report
|
if: github.event_name == 'push'
|
||||||
|
name: Generate a coverage report
|
||||||
needs: [test]
|
needs: [test]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -108,6 +109,7 @@ jobs:
|
||||||
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
|
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
|
||||||
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
name: Publish to PyPI
|
name: Publish to PyPI
|
||||||
|
|
Loading…
Reference in New Issue