Skip to content

Commit

Permalink
Add 3.12-dev to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed Dec 8, 2022
1 parent 695ea30 commit d28e37c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,21 @@ jobs:
run: tox -e ${{ matrix.toxenv }} --notest
- name: Test
run: tox -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }}

python-nightly:
runs-on: ubuntu-latest
name: Test suite with Python nightly
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12-dev'
- name: Install tox
run: pip install --upgrade 'setuptools!=50' tox==3.24.5
- name: Setup tox environment
run: tox -e py --notest
- name: Test
run: tox -e py --skip-pkg-install -- "-n 2"
continue-on-error: true
- name: Mark as a success
run: exit 0
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ flake8==5.0.4 # must match version in .pre-commit-config.yaml
flake8-bugbear==22.9.23 # must match version in .pre-commit-config.yaml
flake8-noqa==1.2.9 # must match version in .pre-commit-config.yaml
isort[colors]==5.10.1 # must match version in .pre-commit-config.yaml
lxml>=4.9.1; python_version<'3.11' or sys_platform!='win32'
lxml>=4.9.1; python_version<'3.11' or sys_platform!='win32' and python_version!=3.12
psutil>=4.0
# pytest 6.2.3 does not support Python 3.10
pytest>=6.2.4
Expand Down

0 comments on commit d28e37c

Please sign in to comment.