Skip to content

feat: Optimize rendering of small features in rig.scad for improved p… #11

feat: Optimize rendering of small features in rig.scad for improved p…

feat: Optimize rendering of small features in rig.scad for improved p… #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
env:
# pygame/SDL must run without a display on CI runners.
SDL_VIDEODRIVER: dummy
SDL_AUDIODRIVER: dummy
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- run: pip install -e ".[dev]"
- name: ruff
run: ruff check src tests
- name: black
run: black --check src tests
- name: mypy
run: mypy
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -e ".[dev]"
# The frame-rate gate measures wall-clock throughput, which shared CI
# runners cannot hold steady; run it locally via `pytest -m benchmark`.
- name: pytest
run: pytest -m "not benchmark" --cov=cathsim --cov-report=term-missing