Skip to content

Commit

Permalink
Run tests on Python 3.11 as required (python#13837)
Browse files Browse the repository at this point in the history
For now we run non-compiled version. (I tried compiling mypy locally and
it failed with couple errors, some deprecation error, and a weird
pointer type mismatch)
  • Loading branch information
ilevkivskyi authored Oct 8, 2022
1 parent 1a8e6c8 commit d081f76
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ jobs:
os: ubuntu-latest
toxenv: py
tox_extra_args: "-n 2"
- name: Test suite with py311-ubuntu
python: '3.11-dev'
arch: x64
os: ubuntu-latest
toxenv: py
tox_extra_args: "-n 2"
- name: mypyc runtime tests with py37-macos
python: '3.7'
arch: x64
Expand Down Expand Up @@ -120,21 +126,3 @@ 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.11-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

0 comments on commit d081f76

Please sign in to comment.