-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (41 loc) · 1.18 KB
/
Copy pathbleeding_edge.yml
File metadata and controls
47 lines (41 loc) · 1.18 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
43
44
45
46
47
name: CI (bleeding edge)
on:
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 }}
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
python-version:
- '3.14'
- 3.14t
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
with:
python-version: ${{ matrix.python-version }}
enable-cache: false
- name: Set PYTHON_GIL
if: ${{ endswith( matrix.python-version , 't' ) }}
run: |
echo "PYTHON_GIL=0" >> $GITHUB_ENV
- run: uv lock --upgrade --prerelease=allow
- run: uv sync --frozen --no-editable --group test
- name: Run tests
run: |
uv run --no-sync \
pytest --color=yes
- run: uv sync --frozen --no-editable --group concurrency
- name: Run concurrency tests
run: |
uv run --no-sync \
pytest --color=yes --count 100 -k concurrency