Skip to content

Commit 657f508

Browse files
committed
Fix testing issues
1 parent 210d8ce commit 657f508

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Diff for: .coveragerc

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[run]
22
branch = True
3-
source = src
3+
source =
4+
src
5+
tests
46
omit =
57
*/conftest.py
68
*/test_*_fuzz.py
@@ -15,6 +17,7 @@ exclude_lines =
1517
pragma: no cover
1618
except ImportError:
1719
\# Python <
20+
sys\.version_info <
1821
raise NotImplementedError
1922
raise TypeError\(f?"Unexpected
2023
assert False,
@@ -23,4 +26,5 @@ exclude_lines =
2326
if TYPE_CHECKING:
2427
^\s+\.\.\.$
2528
^\s+pass$
29+
\: \.\.\.$
2630
ignore_errors = True

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
11+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
1212

1313
steps:
1414
- uses: actions/checkout@v4
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install tox tox-gh-actions
24+
pip install "tox>=3.28,<5" "tox-gh-actions>=2.12,<4"
2525
2626
- name: Run unit tests with tox
2727
run: tox

Diff for: tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ isolated_build = true
44

55
[gh-actions]
66
python =
7-
3: py310
7+
3: py311
88
3.6: py36
99
3.7: py37
1010
3.8: py38
1111
3.9: py39
1212
3.10: py310
1313
3.11: py311
1414
3.12: py312
15+
pypy3: pypy39
1516
pypy3.9: pypy39
1617
pypy3.10: pypy310
1718

0 commit comments

Comments
 (0)