use latest codecov uploader (#5845)
This commit is contained in:
parent
12960c0494
commit
2a3eca2589
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue