diff --git a/.codecov.yml b/.codecov.yml index 750d876773d3..c9b8006f4961 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,8 @@ +codecov: + require_ci_to_pass: no + notify: + wait_for_ci: no + coverage: status: patch: @@ -7,7 +12,7 @@ coverage: default: target: auto threshold: 2% + comment: layout: diff, flags, files require_changes: true - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06c9a254d6ae..0986c2df8f6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: echo github.ref run: echo ${{ github.ref }} @@ -142,7 +144,6 @@ jobs: - name: Publish code coverage report uses: codecov/codecov-action@v1 with: - yml: ./codecov.yml token: ${{ secrets.CODECOV_TOKEN }} flags: unittest name: codecov