fix(codecov) disable uploading coverage for pull requests
This commit is contained in:
1
.github/workflows/ccpp.yml
vendored
1
.github/workflows/ccpp.yml
vendored
@@ -18,6 +18,7 @@ jobs:
|
|||||||
run: sudo apt-get install libpng-dev ruby-full; cd tests; python ./main.py report
|
run: sudo apt-get install libpng-dev ruby-full; cd tests; python ./main.py report
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
|
if: github.event_name == 'push'
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|||||||
Reference in New Issue
Block a user