diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a912b77..fd93e1c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -48,10 +48,12 @@ jobs: CI_RUN: "yes" DIFF_AGAINST: HEAD - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: coverage-data + include-hidden-files: true + name: .coverage.${{ matrix.py }} path: ".tox/.coverage.*" + retention-days: 3 coverage: name: Combine coverage @@ -69,18 +71,19 @@ jobs: - name: Setup coverage tool run: tox -e coverage --notest - name: Install package builder - run: python -m pip install build + run: python -m pip install build[uv] - name: Build package - run: pyproject-build --wheel . + run: pyproject-build --wheel --installer uv . - name: Download coverage data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: coverage-data path: .tox + pattern: .coverage.* + merge-multiple: true - name: Combine and report coverage run: tox -e coverage - name: Upload HTML report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html-report path: .tox/htmlcov @@ -106,6 +109,6 @@ jobs: - name: Install tox run: python -m pip install tox-uv - name: Setup test suite - run: tox -vv --notest -e ${{ matrix.tox_env }} + run: tox -vv --notest --skip-missing-interpreters false -e ${{ matrix.tox_env }} - name: Run test suite run: tox --skip-pkg-install -e ${{ matrix.tox_env }}