Skip to content

Commit d35ce21

Browse files
authored
Merge pull request #25 from kmaehashi/upload-coverage-to-codecov
Upload coverage to codecov
2 parents df9f2b4 + 156caad commit d35ce21

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
@@ -35,6 +35,12 @@ jobs:
3535
3636
- name: Run tests
3737
run: |
38-
pip install pytest
39-
python -m pytest atwiki
38+
pip install pytest pytest-cov
39+
python -m pytest --cov --cov-branch atwiki
4040
atwiki-dump --help
41+
42+
- name: Upload Coverage
43+
run: |
44+
curl -Os https://uploader.codecov.io/latest/linux/codecov
45+
chmod +x codecov
46+
./codecov

0 commit comments

Comments
 (0)