Skip to content

Commit

Permalink
Update supported Python versions for tests to 3.11 and 3.12, and keep…
Browse files Browse the repository at this point in the history
… 3.9 for security releases
  • Loading branch information
whimboo committed Nov 3, 2023
1 parent 7b8743c commit ee3f18f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
tags:
pull_request:

jobs:
Expand All @@ -16,29 +15,25 @@ jobs:
include:
# linux
- os: ubuntu-latest
python: 3.7
toxenv: py37
python: 3.12
toxenv: py312
- os: ubuntu-latest
python: 3.8
toxenv: py38
python: 3.11
toxenv: py311
- os: ubuntu-latest
python: 3.9
toxenv: py39
# Blocked by https://github.com/web-platform-tests/wpt/issues/35978
# - os: ubuntu-latest
# python: "3.10"
# toxenv: py310
toxenv: py38
# windows
- os: windows-latest
python: 3.8
toxenv: py38
python: 3.12
toxenv: py312
# macos
- os: macos-latest
python: 3.8
toxenv: py38
python: 3.12
toxenv: py312
# misc
- os: ubuntu-latest
python: 3.8
python: 3.12
toxenv: pylama

steps:
Expand Down
2 changes: 1 addition & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ coveralls[yaml]==3.3.1
pytest==7.4.3
pytest-cov==4.1.0
pytest-mock==3.11.1
wptserve==3.0
wptserve==4.0
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, pylama
envlist = py39, py311, py312, pylama

[testenv]
usedevelop = true
Expand Down

0 comments on commit ee3f18f

Please sign in to comment.