CI (bleeding edge) #602
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- 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 |