Skip to content

Commit

Permalink
👷 ci: add SMOKESHOW_AUTH_KEY in smokeshow
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Dec 28, 2023
1 parent 5f0ea78 commit 973e4f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,20 @@ jobs:
python-version: "3.12"

- name: Install dependencies
run: pdm install -d
run: |
pdm install -d
pip install smokeshow
- name: Run tests and coverage
run: |
pdm run cov --title "Coverage for ${{ github.sha }}"
- name: Store coverage HTML
run: |
pip install smokeshow
smokeshow upload htmlcov
run: smokeshow upload 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_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}

0 comments on commit 973e4f6

Please sign in to comment.