diff --git a/.github/workflows/get_coverage.yml b/.github/workflows/get_coverage.yml index 50a66ad2..64f1a17e 100644 --- a/.github/workflows/get_coverage.yml +++ b/.github/workflows/get_coverage.yml @@ -37,11 +37,10 @@ jobs: run: | pytest -s --cov dascore --cov-report=xml - - name: upload coverage - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v4 with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - flags: unittests - name: master_tests fail_ci_if_error: true + files: ./coverage.xml + flags: unittests # optional + name: master_tests # optional + token: ${{ secrets.CODECOV_TOKEN }} # required diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 2cb9e04d..e4e5b47c 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -113,14 +113,13 @@ jobs: shell: bash -l {0} run: ./.github/test_code.sh doctest - # upload coverage - - name: upload coverage - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: - file: ./coverage.xml - flags: unittests - name: PR_tests fail_ci_if_error: false + files: ./coverage.xml + flags: unittests # optional + name: PR_tests # optional + token: ${{ secrets.CODECOV_TOKEN }} # required # This is a very useful step for debugging, it allows you to ssh into the CI # machine (https://github.com/marketplace/actions/debugging-with-tmate).