Skip to content

Commit 3d301c8

Browse files
committed
CI: remove codecov pypi package that they deleted for some reason
1 parent a783751 commit 3d301c8

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
sudo apt-get install clang-7
109109
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-7 100
110110
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-7 100
111-
- name: Run pip and prepare codecov
111+
- name: Run pip and prepare coverage
112112
if: matrix.benchmark == false
113113
run: |
114114
python3 -m pip install -r test_requirements.txt
@@ -119,9 +119,15 @@ jobs:
119119
- name: Run benchmarks
120120
if: matrix.benchmark == true
121121
run: python3 benchmark.py --quiet
122-
- name: Send coverage data
122+
- name: Combine and summarise coverage
123123
if: matrix.benchmark == false
124-
run: codecov --name "${{ matrix.runs-on }}-${{ matrix.name_suffix }}-tests" 1>/dev/null
124+
run: coverage combine && coverage xml
125+
- name: Upload coverage data
126+
uses: codecov/codecov-action@v3
127+
if: matrix.benchmark == false
128+
with:
129+
name: "${{ matrix.runs-on }}-${{ matrix.name_suffix }}-tests"
130+
gcov: true
125131

126132
linux_lint:
127133
name: "C++ Lint"
@@ -245,7 +251,7 @@ jobs:
245251
uses: actions/setup-go@v2
246252
with:
247253
stable: true
248-
- name: Run pip and prepare codecov
254+
- name: Run pip and prepare coverage
249255
if: matrix.benchmark == false
250256
run: |
251257
python3 -m pip install -r test_requirements.txt
@@ -257,6 +263,12 @@ jobs:
257263
- name: Run tests
258264
if: matrix.benchmark == false
259265
run: python3 run_tests.py --msvc ${{ matrix.msvc }} --quiet
266+
- name: Combine and summarise coverage
267+
if: matrix.benchmark == false
268+
run: coverage combine && coverage xml
260269
- name: Upload coverage data
270+
uses: codecov/codecov-action@v3
261271
if: matrix.benchmark == false
262-
run: codecov --name ${{ matrix.runs-on }}-${{ matrix.python-arch }} >null
272+
with:
273+
name: "${{ matrix.runs-on }}-${{ matrix.name_suffix }}-tests"
274+
gcov: true

test_requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ PyHamcrest >= 1.10.1
55
WebTest >= 2.0.20
66
psutil >= 5.6.6
77
coverage >= 4.2
8-
codecov >= 2.0.5
98
requests

0 commit comments

Comments
 (0)