diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f29742a9b52..f8fd0d15acf 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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/codecov-action@v5.3.1 @@ -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/codecov-action@v5.3.1 @@ -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/codecov-action@v5.3.1 diff --git a/pyproject.toml b/pyproject.toml index a6e16d1be59..bbcab8b4cbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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