diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index 3631352c55..220f203afd 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -26,12 +26,15 @@ jobs: run: | tox -e py mv coverage.xml coverage-${{ matrix.python }}.xml - - name: Store coverage file - uses: actions/upload-artifact@v4 + - uses: codecov/codecov-action@v4.1.0 if: matrix.os == 'ubuntu-latest' with: - name: coverage-${{ matrix.python }} - path: coverage-${{ matrix.python }}.xml + token: ${{ secrets.CODECOV_TOKEN }} + file: coverage-${{ matrix.python }}.xml + name: py${{ matrix.python }}-${{ matrix.os }} + flags: unittests + fail_ci_if_error: true + verbose: true integration: runs-on: ${{ matrix.os }} strategy: @@ -68,13 +71,6 @@ jobs: pip3 install -e . pip install --upgrade pip pip install --upgrade setuptools - mkdir -p ./pr - echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@v4 - with: - name: pr - path: pr/ - overwrite: true - uses: pypa/gh-action-pip-audit@v1.0.8 with: ignore-vulns: |