From 226e14b4df9ec4ba424bd43751d7c09baa49747d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 24 Jul 2026 20:00:21 +0200 Subject: [PATCH 1/4] DEP: set a temporary upper bound to coverage (`<7.14.0`) --- .github/workflows/tox.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 9136a469..25166338 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -281,7 +281,7 @@ jobs: with: paths: "**/results.xml" - - name: Combine converage reports for Codecov + - name: Combine coverage reports for Codecov # Even if tox fails, upload coverage if: ${{ (success() || failure()) && contains(matrix.coverage, 'codecov') && matrix.pytest == 'true' }} # If there's not multiple files to combine then this will error but that's ok diff --git a/pyproject.toml b/pyproject.toml index aa6ac868..b0163644 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ concurrency = [ ] covcheck = [ "coverage[toml] ; python_version < '3.11'", - "coverage>=7.11.3", + "coverage>=7.11.3, <7.14.0", "pytest-cov>=7.0.0", ] test = [ From 6505da6cd914c1ed54ecc62bd26a89faeca6bc10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 24 Jul 2026 20:32:42 +0200 Subject: [PATCH 2/4] try uv run instead of uvx --- .github/workflows/tox.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 25166338..45bf4f0e 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -287,7 +287,7 @@ jobs: # If there's not multiple files to combine then this will error but that's ok continue-on-error: true run: | - uvx coverage combine + uv run coverage combine - name: Generate xml report for Codecov # Even if tox fails, upload coverage @@ -296,7 +296,7 @@ jobs: if [ ! -f ".coverage" ]; then echo "::error title=Misconfigured coverage reporting::No .coverage file was found in the root directory, this is now a requirement for uploading coverage to Codecov. See the documentation for more information: https://github-actions-workflows.openastronomy.org/en/stable/tox.html#coverage" fi - uvx coverage xml -i + uv run coverage xml -i - name: Upload to Codecov # Even if tox fails, upload coverage From 83fa530179652c9b797aae5f2db8a3635b1d774e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 24 Jul 2026 20:33:08 +0200 Subject: [PATCH 3/4] fixup! try uv run instead of uvx --- .github/workflows/tox.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 45bf4f0e..15017944 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -346,10 +346,10 @@ jobs: - name: Combine Coverage continue-on-error: true - run: uvx coverage combine + run: uv run coverage combine - name: Combine Coverage - run: uvx coverage report -i -m --format=markdown >> $GITHUB_STEP_SUMMARY + run: uv run coverage report -i -m --format=markdown >> $GITHUB_STEP_SUMMARY - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: From 1b19b04d27f97e8956c9072aedf0a489a1cbaec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 24 Jul 2026 20:47:30 +0200 Subject: [PATCH 4/4] fixup! fixup! try uv run instead of uvx --- .github/workflows/tox.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 15017944..9914ee33 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -287,7 +287,7 @@ jobs: # If there's not multiple files to combine then this will error but that's ok continue-on-error: true run: | - uv run coverage combine + uv run --group covcheck coverage combine - name: Generate xml report for Codecov # Even if tox fails, upload coverage @@ -296,7 +296,7 @@ jobs: if [ ! -f ".coverage" ]; then echo "::error title=Misconfigured coverage reporting::No .coverage file was found in the root directory, this is now a requirement for uploading coverage to Codecov. See the documentation for more information: https://github-actions-workflows.openastronomy.org/en/stable/tox.html#coverage" fi - uv run coverage xml -i + uv run --group covcheck coverage xml -i - name: Upload to Codecov # Even if tox fails, upload coverage @@ -346,10 +346,10 @@ jobs: - name: Combine Coverage continue-on-error: true - run: uv run coverage combine + run: uv run --group covcheck coverage combine - name: Combine Coverage - run: uv run coverage report -i -m --format=markdown >> $GITHUB_STEP_SUMMARY + run: uv run --group covcheck coverage report -i -m --format=markdown >> $GITHUB_STEP_SUMMARY - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: