Browse Source

github/workflows: Update coverage workflow to codecov-action@v4.

Fixes: https://github.com/micropython/micropython/issues/14340

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
pull/14341/head
J. Neuschäfer 7 months ago
parent
commit
f76cf29402
  1. 3
      .github/workflows/ports_unix.yml

3
.github/workflows/ports_unix.yml

@ -88,10 +88,11 @@ jobs:
(cd ports/unix && gcov -o build-coverage/py ../../py/*.c || true)
(cd ports/unix && gcov -o build-coverage/extmod ../../extmod/*.c || true)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Print failures
if: failure()
run: tests/run-tests.py --print-failures

Loading…
Cancel
Save