27 lines
491 B
YAML
27 lines
491 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Compile
|
|
run: python -m py_compile tools/*.py web/server.py
|
|
|
|
- name: Unit tests
|
|
run: python -m unittest discover -v
|
|
|
|
- name: Check Markdown links
|
|
run: python tools/check_links.py
|