Run stubtest on py313 in CI (#11987)

This commit is contained in:
Alex Waygood
2024-05-20 15:56:41 -04:00
committed by GitHub
parent e2e3750ee9
commit 88c7f96d25
24 changed files with 1202 additions and 61 deletions

View File

@@ -55,6 +55,24 @@ jobs:
- name: Run stubtest
run: python tests/stubtest_stdlib.py
stubtest-stdlib-py313:
name: Check py313-linux stdlib with stubtest
# TODO: get it passing on all platforms and add it to the main matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.13
cache: pip
cache-dependency-path: requirements-tests.txt
allow-prereleases: true
check-latest: true
- name: Install dependencies
run: pip install -r requirements-tests.txt
- name: Run stubtest
run: python tests/stubtest_stdlib.py
stubtest-third-party:
name: Check third party stubs with stubtest
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}

View File

@@ -50,3 +50,21 @@ jobs:
run: pip install -r requirements-tests.txt
- name: Run stubtest
run: python tests/stubtest_stdlib.py
stubtest-stdlib-py313:
name: Check py313-linux stdlib with stubtest
# TODO: get it passing on all platforms and add it to the main matrix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.13
cache: pip
cache-dependency-path: requirements-tests.txt
allow-prereleases: true
check-latest: true
- name: Install dependencies
run: pip install -r requirements-tests.txt
- name: Run stubtest
run: python tests/stubtest_stdlib.py