Skip to content

Commit d28e37c

Browse files
committed
Add 3.12-dev to CI
1 parent 695ea30 commit d28e37c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,21 @@ jobs:
137137
run: tox -e ${{ matrix.toxenv }} --notest
138138
- name: Test
139139
run: tox -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }}
140+
141+
python-nightly:
142+
runs-on: ubuntu-latest
143+
name: Test suite with Python nightly
144+
steps:
145+
- uses: actions/checkout@v3
146+
- uses: actions/setup-python@v4
147+
with:
148+
python-version: '3.12-dev'
149+
- name: Install tox
150+
run: pip install --upgrade 'setuptools!=50' tox==3.24.5
151+
- name: Setup tox environment
152+
run: tox -e py --notest
153+
- name: Test
154+
run: tox -e py --skip-pkg-install -- "-n 2"
155+
continue-on-error: true
156+
- name: Mark as a success
157+
run: exit 0

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ flake8==5.0.4 # must match version in .pre-commit-config.yaml
77
flake8-bugbear==22.9.23 # must match version in .pre-commit-config.yaml
88
flake8-noqa==1.2.9 # must match version in .pre-commit-config.yaml
99
isort[colors]==5.10.1 # must match version in .pre-commit-config.yaml
10-
lxml>=4.9.1; python_version<'3.11' or sys_platform!='win32'
10+
lxml>=4.9.1; python_version<'3.11' or sys_platform!='win32' and python_version!=3.12
1111
psutil>=4.0
1212
# pytest 6.2.3 does not support Python 3.10
1313
pytest>=6.2.4

0 commit comments

Comments
 (0)