Skip to content

Commit

Permalink
CI: Fix for Python 3.10 (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhynes7 committed Apr 9, 2022
1 parent aaf7596 commit 9e6a3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ importlib-metadata = { version = "~1", python = "<3.8" }
pre-commit = { version = "2.11.1", optional = true }

# Testing
pytest = { version = "6.2.2", optional = true }
pytest = { version = "7.1.1", optional = true }
pytest-cov = { version = "2.11.1", optional = true }
hypothesis = { version = "6.8.1", optional = true }

Expand Down
11 changes: 3 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ rst-roles =

[gh-actions]
python =
3.7: pre-commit, types, readme, doctests, unit, property, docs
3.8: pre-commit, types, readme, doctests, unit, property, docs
3.9: pre-commit, types, readme, doctests, unit, property, docs
3.7: pre-commit, readme, doctests, unit, property, docs
3.8: pre-commit, readme, doctests, unit, property, docs
3.9: pre-commit, readme, doctests, unit, property, docs

[testenv]
allowlist_externals = poetry

[testenv:types]
commands =
pip install pytype==2021.7.19
pytype src/

[testenv:readme]
commands =
poetry run python -m doctest README.rst
Expand Down

0 comments on commit 9e6a3be

Please sign in to comment.