diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88c4d5d2a..47c558298 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,10 @@ jobs: python -m pytest test -v --cov=./uxarray --cov-report=xml - name: Upload code coverage to Codecov + if: github.repository == 'UXARRAY/uxarray' uses: codecov/codecov-action@v4.3.1 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: file: ./coverage.xml flags: unittests