Skip to content

Commit 9587a24

Browse files
Move coverage to github workflow
1 parent 8272cef commit 9587a24

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Run style enforcement
2323
run: flake8
2424
- name: Test with pytest (and run coverage)
25-
run: pytest
25+
run: pytest --cov=./src/ --cov-report xml
2626
- name: Upload coverage to Codecov
2727
uses: codecov/codecov-action@v2
2828
with:

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ omit =
1818
*/__init__.py
1919
show_missing = True
2020

21-
[tool:pytest]
22-
addopts = --cov=./src/ --cov-report xml
23-
2421
[versioneer]
2522
VCS = git
2623
style = pep440

0 commit comments

Comments
 (0)