Skip to content

Add python nightly workflow #301

Add python nightly workflow

Add python nightly workflow #301

Workflow file for this run

name: tests
on:
pull_request:
paths-ignore:
- ".vscode/**"
- "scripts/**"
- ".pre-commit-config.yaml"
- "*.md"
push:
branches: [main]
paths-ignore:
- ".vscode/**"
- "scripts/**"
- ".pre-commit-config.yaml"
- "*.md"
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
include:
- os: windows-latest
python-version: "3.11"
- os: macos-latest
python-version: "3.11"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
uv venv --python ${{ matrix.python-version }}
uv pip install . -r tests/requirements.txt
- name: Run the test suite
run: uv run pytest -vv --color=yes --cov