From bcba7f026feebc4ec7dfc9af3a13c4fe03956232 Mon Sep 17 00:00:00 2001 From: evenyag Date: Fri, 6 May 2022 18:10:35 +0800 Subject: [PATCH] ci: Disable codecov patch and trigger coverage calculation on push (#18) * ci: Disable codecov patch and trigger coverage calculation on push * ci: Add comment for codecov.yml --- .github/codecov.yml | 4 ++++ .github/workflows/coverage.yml | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 0000000000..b0af400854 --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,4 @@ +# codecov config +coverage: + status: + patch: off # disable patch status diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4aafae0932..01abd0e8a9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,4 +1,9 @@ -on: pull_request +on: + pull_request: + push: + branches: + - 'main' + - 'develop' name: Code coverage