Skip to content

f

f #12

Workflow file for this run

name: Python CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 61, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os:
- macos-26
- macos-26-intel
- ubuntu-24.04
# TODO: fails on ARM
# - ubuntu-24.04-arm
- windows-2025
- windows-11-arm
python-version:
- '3.14'
include:
- os: macos-26
display: MacOS 26 ARM
- os: macos-26-intel
display: MacOS 26 Intel
- os: ubuntu-24.04
display: Ubuntu 24.04 Intel
- os: ubuntu-24.04-arm
# TODO: fails on ARM
# display: Ubuntu 24.04 ARM
# - os: windows-2025
display: Windows 11 Intel
- os: windows-11-arm
display: Windows 11 (ARM)
fail-fast: false
name: ${{ matrix.display }} / Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
- if: matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-24.04-arm'
uses: awalsh128/cache-apt-pkgs-action@v1.5.1
with:
packages: libegl1
version: 1.0
execute_install_scripts: true
- if: matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-24.04-arm'
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Check for formatting errors
run: python -m ruff format ./**/*.py
# TODO: resolve all linting errors
# - name: Check for linting errors
# run: python -m ruff check ./**/*.py
- name: Run test suite
run: python -m pytest