Skip to content

Commit

Permalink
actions: Test Python 3.11
Browse files Browse the repository at this point in the history
New shiny.

Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Dec 6, 2022
1 parent 7698cac commit 0f73ff4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
run: python -m pip install tox
- name: Run tox
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout source code
uses: actions/checkout@v3
Expand All @@ -48,10 +48,10 @@ jobs:
# We need history for release notes
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
run: python -m pip install tox
- name: Build docs (via tox)
Expand All @@ -73,10 +73,10 @@ jobs:
# We need history to build the package
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Install dependencies
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py{37,38,39}-click{7,8,8-async},py{310}-click{8,8-async},style,docs
envlist = py{37,38,39}-click{7,8,8-async},py{310,311}-click{8,8-async},style,docs

[testenv]
setenv =
Expand Down

0 comments on commit 0f73ff4

Please sign in to comment.