Skip to content

Commit

Permalink
Fix testing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Sep 3, 2024
1 parent 210d8ce commit 657f508
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[run]
branch = True
source = src
source =
src
tests
omit =
*/conftest.py
*/test_*_fuzz.py
Expand All @@ -15,6 +17,7 @@ exclude_lines =
pragma: no cover
except ImportError:
\# Python <
sys\.version_info <
raise NotImplementedError
raise TypeError\(f?"Unexpected
assert False,
Expand All @@ -23,4 +26,5 @@ exclude_lines =
if TYPE_CHECKING:
^\s+\.\.\.$
^\s+pass$
\: \.\.\.$
ignore_errors = True
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

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

steps:
- uses: actions/checkout@v4
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
pip install "tox>=3.28,<5" "tox-gh-actions>=2.12,<4"
- name: Run unit tests with tox
run: tox
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ isolated_build = true

[gh-actions]
python =
3: py310
3: py311
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy3: pypy39
pypy3.9: pypy39
pypy3.10: pypy310

Expand Down

0 comments on commit 657f508

Please sign in to comment.