mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 03:50:16 +00:00
update codecov CI
This commit is contained in:
parent
8f11ce0466
commit
3048e0dde7
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -58,10 +58,11 @@ jobs:
|
|||||||
- name: Unit Test with Coverage
|
- name: Unit Test with Coverage
|
||||||
run: bash run_tests.sh
|
run: bash run_tests.sh
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
directory: .coverage
|
directory: .coverage
|
||||||
|
fail_ci_if_error: true
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user