Skip to content

Commit 8e1ed5e

Browse files
committed
fix(ci): "pytest-cov" fails to install
ERROR: Failed building wheel for pyuv ERROR: Could not build wheels for pyuv, which is required to install pyproject.toml-based projects
1 parent 05a195b commit 8e1ed5e

File tree

2 files changed

+6
-35
lines changed

2 files changed

+6
-35
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
PYTEST_ADDOPTS: '-vv --cov-append'
13+
PYTEST_ADDOPTS: '-vv'
1414

1515
jobs:
1616
lint:
@@ -79,32 +79,3 @@ jobs:
7979
which nvim
8080
nvim --version
8181
tox
82-
83-
- if: matrix.target == 'tests'
84-
name: Run coverage report
85-
run: |
86-
pip install coverage
87-
coverage report -m
88-
coverage xml
89-
90-
- if: matrix.target == 'tests'
91-
uses: codecov/codecov-action@v3
92-
with:
93-
file: coverage.xml
94-
verbose: true
95-
96-
# TODO: tox, codecov steps from old travis workflow
97-
#
98-
# env: CI_TARGET=checkqa TOXENV=checkqa,docs
99-
# script:
100-
# - tox
101-
# after_script:
102-
# - if [ $CI_TARGET = tests ]; then
103-
# set -x;
104-
# pip install coverage;
105-
# coverage combine;
106-
# coverage report -m;
107-
# coverage xml;
108-
# bash <(curl --retry 5 --silent --fail https://codecov.io/bash) -f coverage.xml;
109-
# set +x;
110-
# fi

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{310,311}-{asyncio,pyuv}-cov,pypy-cov
3+
py{310,311}-asyncio
44
checkqa
55

66
[gh-actions]
@@ -13,10 +13,10 @@ python =
1313
extras = test
1414
deps =
1515
pytest-timeout
16-
cov: pytest-cov
17-
pyuv: pyuv
18-
setenv =
19-
cov: PYTEST_ADDOPTS=--cov=. {env:PYTEST_ADDOPTS:}
16+
# cov: pytest-cov
17+
# pyuv: pyuv
18+
# setenv =
19+
# cov: PYTEST_ADDOPTS=--cov=. {env:PYTEST_ADDOPTS:}
2020
passenv = PYTEST_ADDOPTS
2121
commands =
2222
python -m pytest {posargs}

0 commit comments

Comments
 (0)