diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0bd50bb..885da28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,10 +40,10 @@ jobs: run: tox --py current - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: coverage-data - path: '.coverage.*' + name: coverage-data-${{ matrix.python-version }} + path: '${{ github.workspace }}/.coverage.*' coverage: name: Coverage @@ -60,9 +60,11 @@ jobs: run: python -m pip install --upgrade coverage[toml] - name: Download data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: coverage-data + path: ${{ github.workspace }} + pattern: coverage-data-* + merge-multiple: true - name: Combine coverage run: | @@ -72,7 +74,7 @@ jobs: - name: Upload HTML report if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: html-report path: htmlcov