forked from boto/botocore
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.28 KB
/
run-crt-test.yml
File metadata and controls
42 lines (37 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run CRT tests
on:
push:
pull_request:
branches-ignore: [master]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master') && github.run_id || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: '${{ matrix.os }}'
continue-on-error: ${{ matrix.python-version == '3.15-dev' }}
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15-dev']
os: [ubuntu-latest, macOS-latest, windows-latest]
env:
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: ${{ matrix.python-version == '3.15-dev' && '1' || '' }}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
with:
persist-credentials: false
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: '${{ matrix.python-version }}'
cache: 'pip'
allow-prereleases: true
- name: Install dependencies and CRT
run: |
python scripts/ci/install --extras crt
- name: Run tests
run: |
python scripts/ci/run-crt-tests --with-cov --with-xdist