diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 063df4d84..d049dbd7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,13 @@ jobs: run: | make + - name: Upload code coverage + if: matrix.run_long_tests + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage.txt + release: name: release needs: build diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..ec78c1eef --- /dev/null +++ b/codecov.yml @@ -0,0 +1,7 @@ +coverage: + status: + project: + default: + target: auto + threshold: 0% + if_ci_failed: error