Skip to content

Commit 91e15f6

Browse files
committed
Codecov: xml upload
1 parent 1f39182 commit 91e15f6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/unittests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ jobs:
125125
- name: Run Tox
126126
run: UT_FLAGS="${{ matrix.flags }}" ./.config/ci/test.sh ${{ matrix.python }} ${{ matrix.mode }}
127127
- name: Codecov
128-
uses: codecov/codecov-action@v2
129-
with:
130-
file: /home/runner/work/scapy/scapy/.coverage
128+
uses: codecov/codecov-action@v3
131129

132130
cryptography:
133131
name: pyca/cryptography test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ MANIFEST
66
*.egg-info/
77
test/*.html
88
.coverage*
9+
coverage.xml
910
.tox
1011
.ipynb_checkpoints
1112
.mypy_cache

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ commands =
4444
bsd_non_root: {envpython} {env:SCAPY_PY_OPTS:-m coverage run} -m scapy.tools.UTscapy -c test/configs/bsd.utsc -K manufdb -K tshark -N {posargs}
4545
bsd_root: sudo -E {envpython} {env:SCAPY_PY_OPTS:-m coverage run} -m scapy.tools.UTscapy -c test/configs/bsd.utsc -K manufdb -K tshark {posargs}
4646
windows: {envpython} {env:SCAPY_PY_OPTS:-m coverage run} -m scapy.tools.UTscapy -c test/configs/windows.utsc {posargs}
47-
coverage combine
47+
coverage xml
4848

4949
# Variants of the main tests
5050

@@ -72,7 +72,7 @@ commands =
7272
bash -c "rm -rf /tmp/can-utils /tmp/can-isotp"
7373
lsmod
7474
sudo -E {envpython} -m coverage run -m scapy.tools.UTscapy -c ./test/configs/linux.utsc {posargs}
75-
coverage combine
75+
coverage xml
7676

7777
# Test used by upstream pyca/cryptography
7878
[testenv:cryptography]

0 commit comments

Comments
 (0)