From 199b7c4019ff053ea6fbc1e902c5db2d3a8f6464 Mon Sep 17 00:00:00 2001 From: John Walthour Date: Tue, 7 Apr 2026 10:46:00 -0400 Subject: [PATCH 1/2] Convert coverage report to absolute paths --- .github/workflows/github-python-workflow.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-python-workflow.yml b/.github/workflows/github-python-workflow.yml index 45ab8bc..e3ed9c4 100644 --- a/.github/workflows/github-python-workflow.yml +++ b/.github/workflows/github-python-workflow.yml @@ -76,7 +76,7 @@ jobs: -m pytest --continue-on-collection-errors || \ { echo "WARNING: Some tests have failed. (Temporarily ignored)"; true; } coverage xml --data-file=coverage.bin -o coverage.xml - + sed -i 's,.*/ogc,ogc,' coverage.xml - name: Artifact coverage document uses: actions/upload-artifact@v4 with: diff --git a/pyproject.toml b/pyproject.toml index e104951..25dd3de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,6 @@ testpaths = ["ogc"] line-length = 120 [tool.coverage.run] -relative_files = true +relative_files = false source = ["ogc/"] branch = true From 0b4c4c975fa943ad01272c622dc8952e36cb61da Mon Sep 17 00:00:00 2001 From: John Walthour Date: Tue, 7 Apr 2026 12:01:41 -0400 Subject: [PATCH 2/2] Added comment linking to PR with explanation --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 25dd3de..28c2688 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,6 @@ testpaths = ["ogc"] line-length = 120 [tool.coverage.run] -relative_files = false +relative_files = false # For reasoning, see https://github.com/creare-com/ogc/pull/18 source = ["ogc/"] branch = true