Skip to content

Commit fb50b68

Browse files
committed
Try adding 3.11 to CI
1 parent 9659fa2 commit fb50b68

File tree

2 files changed

+10
-44
lines changed

2 files changed

+10
-44
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ jobs:
103103
matrix:
104104
os: [Ubuntu, MacOS]
105105
python:
106-
- 3.7
107-
- 3.8
108-
- 3.9
106+
- "3.7"
107+
- "3.8"
108+
- "3.9"
109109
- "3.10"
110+
- "3.11"
110111

111112
steps:
112113
- uses: actions/checkout@v2
@@ -151,11 +152,12 @@ jobs:
151152
matrix:
152153
os: [Windows]
153154
python:
154-
- 3.7
155+
- "3.7"
155156
# Commented out, since Windows tests are expensively slow.
156-
# - 3.8
157-
# - 3.9
158-
- "3.10"
157+
# - "3.8"
158+
# - "3.9"
159+
# - "3.10"
160+
- "3.11"
159161
group: [1, 2]
160162

161163
steps:
@@ -240,41 +242,6 @@ jobs:
240242
--durations=5
241243
--use-zipapp
242244
243-
# TODO: Remove this when we add Python 3.11 to CI.
244-
tests-importlib-metadata:
245-
name: tests for importlib.metadata backend
246-
runs-on: ubuntu-latest
247-
env:
248-
_PIP_USE_IMPORTLIB_METADATA: 'true'
249-
250-
needs: [packaging, determine-changes]
251-
if: >-
252-
needs.determine-changes.outputs.tests == 'true' ||
253-
github.event_name != 'pull_request'
254-
255-
steps:
256-
- uses: actions/checkout@v2
257-
- uses: actions/setup-python@v2
258-
with:
259-
python-version: '3.10'
260-
261-
- name: Install Ubuntu dependencies
262-
run: sudo apt-get install bzr
263-
264-
- run: pip install nox 'virtualenv<20'
265-
266-
- name: Run unit tests
267-
run: >-
268-
nox -s test-3.10 --
269-
-m unit
270-
--verbose --numprocesses auto --showlocals
271-
- name: Run integration tests
272-
run: >-
273-
nox -s test-3.10 --
274-
-m integration
275-
--verbose --numprocesses auto --showlocals
276-
--durations=5
277-
278245
check: # This job does nothing and is only used for the branch protection
279246
if: always()
280247

@@ -285,7 +252,6 @@ jobs:
285252
- tests-unix
286253
- tests-windows
287254
- tests-zipapp
288-
- tests-importlib-metadata
289255
- vendoring
290256

291257
runs-on: ubuntu-latest

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def should_update_common_wheels() -> bool:
6666
# -----------------------------------------------------------------------------
6767
# Development Commands
6868
# -----------------------------------------------------------------------------
69-
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy3"])
69+
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"])
7070
def test(session: nox.Session) -> None:
7171
# Get the common wheels.
7272
if should_update_common_wheels():

0 commit comments

Comments
 (0)