diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 55a31eb7..c9dc4747 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -61,9 +61,10 @@ jobs: run: | pytest -r a -v -n 3 --open-files --cov=lsst.ctrl.mpexec --cov=tests --cov-report=xml --cov-report=term --cov-branch - name: Upload coverage to codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: - file: ./coverage.xml + files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} pypi: runs-on: ubuntu-latest