Skip to content

Commit a0234fa

Browse files
authored
Add 3.11-dev to CI (#11677)
1 parent fa16759 commit a0234fa

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -113,24 +113,22 @@ jobs:
113113
- name: Test
114114
run: tox -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }}
115115

116-
# TODO: uncomment this when 3.11-dev is available
117-
# python-nightly:
118-
# runs-on: ubuntu-latest
119-
# name: Test suite with Python nightly
120-
# steps:
121-
# - uses: actions/checkout@v2
122-
# - uses: actions/setup-python@v2
123-
# with:
124-
# python-version: '3.11-dev'
125-
# - name: Install tox
126-
# run: |
127-
# pip install -U pip==21.2.3 setuptools
128-
# pip install --upgrade 'setuptools!=50' virtualenv==20.4.7 tox==3.20.1
129-
# - name: Setup tox environment
130-
# run: tox -e py --notest
131-
# - name: Test
132-
# run: tox -e py --skip-pkg-install -- "-n 2"
133-
# continue-on-error: true
134-
# - name: Mark as a success
135-
# run: exit 0
136-
116+
python-nightly:
117+
runs-on: ubuntu-latest
118+
name: Test suite with Python nightly
119+
steps:
120+
- uses: actions/checkout@v2
121+
- uses: actions/setup-python@v2
122+
with:
123+
python-version: '3.11-dev'
124+
- name: Install tox
125+
run: |
126+
pip install -U pip==21.2.3 setuptools
127+
pip install --upgrade 'setuptools!=50' virtualenv==20.4.7 tox==3.20.1
128+
- name: Setup tox environment
129+
run: tox -e py --notest
130+
- name: Test
131+
run: tox -e py --skip-pkg-install -- "-n 2"
132+
continue-on-error: true
133+
- name: Mark as a success
134+
run: exit 0

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ attrs>=18.0
44
flake8==3.9.2
55
flake8-bugbear
66
flake8-pyi>=20.5
7-
lxml>=4.4.0
7+
lxml>=4.4.0; python_version<'3.11'
88
psutil>=4.0
99
pytest>=6.2.0,<7.0.0
1010
pytest-xdist>=1.34.0,<2.0.0

0 commit comments

Comments
 (0)