diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 09fcd9a..1835700 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,4 +65,29 @@ jobs: with: name: coverage-data-${{ matrix.maya-version }} path: .coverage.* + include-hidden-files: true if-no-files-found: ignore + + coverage: + name: Coverage Report + runs-on: ubuntu-latest + needs: tests + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v4 + - uses: actions/setup-python@v5 + with: + python-version-file: "pyproject.toml" + - name: Download coverage data + uses: actions/download-artifact@v4 + with: + pattern: coverage-data-* + merge-multiple: true + - name: Combine and report coverage + run: | + uv tool install coverage + coverage combine + # Report to summary + coverage report --format=markdown >> $GITHUB_STEP_SUMMARY + # Report to console + coverage report