Skip to content

Automate zero-config route bootstrap #27

Automate zero-config route bootstrap

Automate zero-config route bootstrap #27

Workflow file for this run

name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
on:
push:
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install quality tooling
run: python -m pip install ruff mypy pip-audit
- name: Ruff
run: python -m ruff check src tests
- name: Mypy
run: PYTHONPATH=src python -m mypy src
- name: Pip Audit
run: python -m pip_audit
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Compile
run: python -m py_compile run_stopliga.py src/stopliga/*.py tests/*.py
- name: Unit and integration tests
run: PYTHONPATH=src python -m unittest tests.test_config tests.test_feed tests.test_integration -v
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Build image
run: docker build -t stopliga .