diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 703e31c090a..6ed43b1c127 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -143,7 +143,7 @@ jobs: working-directory: tests/ timeout-minutes: 2 - name: coverage - if: ${{ matrix.os }} == "ubuntu2004" + if: ${{ matrix.os }} == "ubuntu2004" && $${ matrix.compiler } == "gcc-9.2" run: | ~/.local/bin/fastcov -d build -l -o fastcov.info -p --exclude /usr/include --exclude=scanner.lex --exclude=/opt/vesoft/* bash <(curl -s https://codecov.io/bash) -Z -f fastcov.info