mirror of
https://github.com/lepture/captcha.git
synced 2026-03-13 09:43:22 +08:00
chore: add codecov action
This commit is contained in:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -5,7 +5,6 @@ on:
|
||||
branches-ignore:
|
||||
- 'wip-*'
|
||||
paths-ignore:
|
||||
- '.github/**'
|
||||
- 'docs/**'
|
||||
- '*.md'
|
||||
- '*.rst'
|
||||
@@ -13,7 +12,6 @@ on:
|
||||
branches-ignore:
|
||||
- 'wip-*'
|
||||
paths-ignore:
|
||||
- '.github/**'
|
||||
- 'docs/**'
|
||||
- '*.md'
|
||||
- '*.rst'
|
||||
@@ -59,3 +57,8 @@ jobs:
|
||||
|
||||
- name: Report coverage
|
||||
run: pytest --cov=captcha --cov-report=xml
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user