mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
use latest codecov uploader (#5845)
This commit is contained in:
parent
12960c0494
commit
2a3eca2589
1 changed files with 4 additions and 8 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -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…
Add table
Add a link
Reference in a new issue