Skip to content

feat(hygiene): harden CI matrix with concurrency, add PEP 621 ecosyst… #1

feat(hygiene): harden CI matrix with concurrency, add PEP 621 ecosyst…

feat(hygiene): harden CI matrix with concurrency, add PEP 621 ecosyst… #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest ruff requests urllib3
- name: Run test suite
run: |
python -m pytest -v
- name: Run static and package checks
run: |
python -m compileall -q _tools tests
ruff check .