summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-10-06 18:41:18 +0200
committerChristian Heimes <christian@python.org>2021-10-06 19:46:16 +0300
commit6c7a8ed9b7d3cf871ae5ff72e76e4d2e2297c74d (patch)
treec4c7e73ef0b885ef564d431a789659013fed5874
parent3284a14b16efb5270ec33c51c468a497127b6a7b (diff)
downloaddefusedxml-git-6c7a8ed9b7d3cf871ae5ff72e76e4d2e2297c74d.tar.gz
Latest coverage interfers with tests
Drop coverage, it's not use at the moment.
-rw-r--r--.github/workflows/main.yml7
-rw-r--r--tox.ini14
2 files changed, 7 insertions, 14 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 93ab2c8..1791bb8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -32,10 +32,7 @@ jobs:
- name: "Update pip"
run: python -m pip install --upgrade pip setuptools wheel
- name: "Install tox dependencies"
- run: python -m pip install --upgrade tox tox-gh-actions coverage[toml]
+ run: python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox for ${{ matrix.python-version }}"
run: "python -m tox"
- - name: "Upload coverage to Codecov"
- uses: "codecov/codecov-action@v1"
- with:
- fail_ci_if_error: true
+
diff --git a/tox.ini b/tox.ini
index e283efb..0ba7964 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,17 +4,13 @@ skip_missing_interpreters = true
[testenv]
commands =
- coverage run --parallel-mode tests.py
- coverage combine
- coverage xml
- coverage report -m
+ {envpython} {toxinidir}/tests.py
deps =
lxml
- coverage
[testenv:py38]
# lxml FTBFS because Python sets -Wimplicit-int
-deps = coverage
+deps =
[testenv:black]
commands = black --check --verbose \
@@ -51,6 +47,6 @@ max-line-length = 98
python =
3.6: py36
3.7: py37
- 3.8: py38, pep8py3, doc
- 3.9: py39, black
- 3.10: py310
+ 3.8: py38, pep8py3
+ 3.9: py39, doc
+ 3.10: py310, black