use latest codecov uploader (#5845)

This commit is contained in:
Maximilian Hils 2023-01-02 22:13:12 +01:00 committed by GitHub
parent 12960c0494
commit 2a3eca2589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -105,11 +105,9 @@ jobs:
# run tests with loopback only. We need to sudo for unshare, which means we need an absolute path for tox.
sudo unshare --net -- sh -c "ip link set lo up; $(which tox) -e py"
if: matrix.os == 'ubuntu-latest'
- uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27
# mirrored below and at https://github.com/mitmproxy/mitmproxy/settings/actions
- uses: mhils/better-codecov-action@main
with:
file: ./coverage.xml
name: ${{ matrix.os }}
arguments: '--file ./coverage.xml --name ${{ matrix.os }}'
build:
strategy:
@ -174,11 +172,9 @@ jobs:
run: npm ci
- working-directory: ./web
run: npm test
- uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27
# mirrored above and at https://github.com/mitmproxy/mitmproxy/settings/actions
- uses: mhils/better-codecov-action@main
with:
file: ./web/coverage/coverage-final.json
name: web
arguments: '--file ./web/coverage/coverage-final.json'
docs:
runs-on: ubuntu-latest