Skip to content

Commit

Permalink
Fix file-specific test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Jan 28, 2025
1 parent e42c404 commit 074ba22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: pip list
- name: Run pytest checks
run: |
pytest --cov --cov-report=xml
pytest --cov=torchgeo --cov-report=xml
python3 -m torchgeo --help
- name: Report coverage
uses: codecov/[email protected]
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: pip list
- name: Run pytest checks
run: |
pytest --cov --cov-report=xml
pytest --cov=torchgeo --cov-report=xml
python3 -m torchgeo --help
- name: Report coverage
uses: codecov/[email protected]
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
run: pip list
- name: Run pytest checks
run: |
pytest --cov --cov-report=xml
pytest --cov=torchgeo --cov-report=xml
python3 -m torchgeo --help
- name: Report coverage
uses: codecov/[email protected]
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ exclude_also = [
]
show_missing = true

[tool.coverage.run]
source_pkgs = ["torchgeo"]

# https://mypy.readthedocs.io/en/stable/config_file.html
[tool.mypy]
# Import discovery
Expand Down

0 comments on commit 074ba22

Please sign in to comment.