Skip to content

feat: complete ADK 2 move #136

feat: complete ADK 2 move

feat: complete ADK 2 move #136

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- master
jobs:
test:
name: Python ${{ matrix.python-label }}
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
- python-label: "3.12 x86_64"
runner: ubuntu-24.04
python-version: "3.12"
- python-label: "3.13 x86_64"
runner: ubuntu-24.04
python-version: "cpython-3.13.12-linux-x86_64-gnu"
- python-label: "3.14 x86_64"
runner: ubuntu-24.04
python-version: "cpython-3.14.3-linux-x86_64-gnu"
- python-label: "3.13 arm64"
runner: ubuntu-24.04-arm
python-version: "cpython-3.13.12-linux-aarch64-gnu"
- python-label: "3.14 arm64"
runner: ubuntu-24.04-arm
python-version: "cpython-3.14.3-linux-aarch64-gnu"
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python
run: |
uv python install "${{ matrix.python-version }}"
uv sync --python "${{ matrix.python-version }}" --group lint --group test --group build
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
cache-dependency-path: src/resources/package-lock.json
- name: Install frontend dependencies
run: uv run python manage.py assets install
- name: Build frontend assets
run: uv run python manage.py assets build
- name: Run unit tests
run: uv run pytest src/tests/unit
- name: Build Python package
run: uv build