mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Run stubtest on py313 in CI (#11987)
This commit is contained in:
18
.github/workflows/daily.yml
vendored
18
.github/workflows/daily.yml
vendored
@@ -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' }}
|
||||
|
||||
18
.github/workflows/stubtest_stdlib.yml
vendored
18
.github/workflows/stubtest_stdlib.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user