Skip to content

Commit

Permalink
add tests for 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhrysteve committed Mar 12, 2023
1 parent 45374be commit 44aa6d8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
#
# Please bump to the latest unreleased candidate
# when you come across this and have a moment to spare!
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@master
- name: set up Python ${{ matrix.python-version }}
Expand All @@ -22,8 +22,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U tox tox-gh-actions coveralls
pip install -U tox tox-gh-actions coveralls types-pkg_resources types-setuptools
pip install -r requirements-tox.txt -r requirements-test.txt
mypy --install-types --non-interactive .
- name: Run pre-commit
run: |
pre-commit run --all-files --show-diff-on-failure
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 23.1.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.800
rev: v1.1.1
hooks:
- id: mypy
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[tool.black]
target-version = ['py36', 'py37', 'py38']
target-version = ['py39', 'py310']
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pytest-cov
# Optional installs for the wheel, but always required for tests
marshmallow-enum
marshmallow-union
mypy>=0.910
mypy>=1.1.1

pre-commit~=2.15
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=lint,py{36,37,38,39,py3}
envlist=lint,py{37,38,39,310,311,py3}

[testenv]
deps=-r requirements-test.txt
Expand Down

0 comments on commit 44aa6d8

Please sign in to comment.