From 27d88de899e91cd5bb9fc69fe9d71cb180cfb44b Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:42:37 -0400 Subject: [PATCH] fix(codecov) disable uploading coverage for pull requests --- .github/workflows/ccpp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 23ebe6634..8f6bab37e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -18,6 +18,7 @@ jobs: run: sudo apt-get install libpng-dev ruby-full; cd tests; python ./main.py report - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 + if: github.event_name == 'push' with: fail_ci_if_error: true verbose: true