diff --git a/.github/workflows/template_unit_pytest.yml b/.github/workflows/template_unit_pytest.yml index c4f0be0..e5dbc1b 100644 --- a/.github/workflows/template_unit_pytest.yml +++ b/.github/workflows/template_unit_pytest.yml @@ -84,11 +84,11 @@ jobs: path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} - name: Upload coverage to Codecov - if: success() || failure() # always run - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v2 with: + token: ${{ secrets.CODECOV_TOKEN }} + version: "v0.1.15" files: ${{ env.TESTS_COVERAGE_REPORT_PATH }} fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }}