test: optimize codecov config (#13329)

* test: optimize codecov config to let GitHub checks always pass

* Run tests on workflow changes, too
This commit is contained in:
Jesse Yang
2021-02-25 03:22:34 -10:00
committed by GitHub
parent 94d0bb9e7f
commit d39bc14a0b
6 changed files with 16 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ jobs:
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |
bash <(curl -s https://codecov.io/bash) -cF python
bash <(curl -s https://codecov.io/bash) -c -F python -F mysql
test-postgres:
if: github.event.pull_request.draft == false
@@ -134,7 +134,7 @@ jobs:
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |
bash <(curl -s https://codecov.io/bash) -cF python
bash <(curl -s https://codecov.io/bash) -c -F python -F postgres
test-sqlite:
if: github.event.pull_request.draft == false
@@ -190,4 +190,4 @@ jobs:
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |
bash <(curl -s https://codecov.io/bash) -cF python
bash <(curl -s https://codecov.io/bash) -c -F python -F sqlite