CI (bleeding edge) #553
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: | |
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 |