-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (48 loc) · 1.32 KB
/
bleeding_edge.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
name: CI (bleeding edge)
on:
push:
branches:
- main
schedule:
# run this every wednesday at 3 am UTC
- cron: 0 3 * * 3
pull_request:
paths:
- .github/workflows/bleeding_edge.yml
workflow_dispatch:
jobs:
build:
name: 'py${{ matrix.python-version }} (free-threading: ${{ matrix.free-threading }})'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
python-version:
- 3.13-dev
free-threading:
- false
- true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
if: ${{ !matrix.free-threading }}
with:
python-version: ${{ matrix.python-version }}
- uses: deadsnakes/action@v3.1.0
if: ${{ matrix.free-threading }}
with:
python-version: ${{ matrix.python-version }}
nogil: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel
python -m pip install git+https://github.com/willmcgugan/rich.git
python -m pip install git+https://github.com/pytest-dev/pytest.git
python -m pip install schema
- name: Build
run: python -m pip install .
- run: python -m pip list
- name: Run tests
run: pytest --color=yes