Skip to content

Commit 156caad

Browse files
committed
upload coverage to codecov
1 parent a7347ae commit 156caad

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
3232
- name: Run tests
3333
run: |
34-
pip install pytest
35-
python -m pytest atwiki
34+
pip install pytest pytest-cov
35+
python -m pytest --cov --cov-branch atwiki
3636
atwiki-dump --help
37+
38+
- name: Upload Coverage
39+
run: |
40+
curl -Os https://uploader.codecov.io/latest/linux/codecov
41+
chmod +x codecov
42+
./codecov

0 commit comments

Comments
 (0)