Skip to content

Update Actions to Node 24 runtimes #9

Update Actions to Node 24 runtimes

Update Actions to Node 24 runtimes #9

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
# Branch pushes and their PRs would otherwise each trigger a full run; skip
# the pull_request duplicate for branches in this repo (forks still run).
jobs:
lint:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Ruff check
uses: astral-sh/ruff-action@v4.1.0
with:
args: check lumisync tests
test:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
# Windows matches the release build environment; Linux guards the
# cross-platform paths (Qt runs offscreen on both).
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: pip
cache-dependency-path: pyproject.toml
- name: Install Qt runtime libraries (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libegl1 libgl1 libxkbcommon0 libdbus-1-3 libpulse0
- name: Install package
run: python -m pip install -e .
- name: Run unit tests
env:
QT_QPA_PLATFORM: offscreen
run: python -m unittest discover -s tests -v