diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29925dd..6cbbd47 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -95,14 +95,14 @@ jobs: - name: Upload coverage data if: always() && matrix.session == 'tests' - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: - name: coverage-data + name: coverage-data-${{ matrix.python }}-${{ matrix.os }} path: ".coverage.*" - name: Upload documentation if: matrix.session == 'docs-build' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: docs path: docs/_build @@ -136,12 +136,16 @@ jobs: nox --version - name: Download coverage data - uses: actions/download-artifact@v3 - with: - name: coverage-data + uses: actions/download-artifact@v4 - name: Combine coverage data and display human readable report run: | + shopt -s dotglob + mv coverage-data-3.10-windows-latest/* . + mv coverage-data-3.12-ubuntu-latest/* . + mv coverage-data-3.11-ubuntu-latest/* . + mv coverage-data-3.10-ubuntu-latest/* . + mv coverage-data-3.12-macos-latest/* . nox --force-color --session=coverage - name: Create coverage report