Skip to content

Commit

Permalink
project: Add Python 3.11 to CI and tox
Browse files Browse the repository at this point in the history
  • Loading branch information
fetzerch committed Nov 17, 2022
1 parent e22b5b0 commit 0c79c17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
fail-fast: false
matrix:
py:
- "3.11"
- "3.10"
- "3.9"
- "3.8"
Expand All @@ -25,10 +26,10 @@ jobs:
run: python -m pip install tox-gh
- name: Setup test suite
run: tox
- if: ${{ matrix.py == '3.10' }}
- if: ${{ matrix.py == '3.11' }}
name: Generate coverage data
run: .tox/py310/bin/coverage lcov -o coverage/lcov.info
- if: ${{ matrix.py == '3.10' }}
- if: ${{ matrix.py == '3.11' }}
name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand All @@ -42,7 +43,7 @@ jobs:
- name: Setup python to build package
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.11"
- name: Install build
run: python -m pip install build
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# SOFTWARE.

[tox]
envlist = py37,py38,py39,py310
envlist = py37,py38,py39,py310,py311

[testenv]
deps = pytest-mock
Expand Down

0 comments on commit 0c79c17

Please sign in to comment.