diff --git a/.github/workflows/template_unit_pytest.yml b/.github/workflows/template_unit_pytest.yml index e620858..d5ad80a 100644 --- a/.github/workflows/template_unit_pytest.yml +++ b/.github/workflows/template_unit_pytest.yml @@ -83,10 +83,8 @@ jobs: name: ${{ inputs.projectName }}-coverage-report path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} - - name: Generate coverage report - uses: dawidd6/action-coverage-report@v1.6.0 + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 with: - path: ${{ env.TESTS_COVERAGE_REPORT_PATH }} - output_format: markdown - github_token: ${{ github.token }} - minimum_coverage: 0 \ No newline at end of file + files: ${{ env.TESTS_COVERAGE_REPORT_PATH }} + fail_ci_if_error: true \ No newline at end of file