Skip to content

Commit

Permalink
👷 ci: add smokeshow
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Dec 28, 2023
1 parent 574427b commit 97d9a98
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ jobs:
with:
name: coverage-html
path: htmlcov

- name: Store coverage HTML
run: |
pip install smokeshow
smokeshow upload cli/htmlcov
env:
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 50
SMOKESHOW_GITHUB_CONTEXT: coverage
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}

0 comments on commit 97d9a98

Please sign in to comment.