Skip to content

code cleanup + ci test fix #18

code cleanup + ci test fix

code cleanup + ci test fix #18

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
quality:
runs-on: ubuntu-latest
env:
TIMEPOLL_SECRET_KEY: ci-timepoll-secret-key
TIMEPOLL_DEBUG: "0"
TIMEPOLL_ALLOWED_HOSTS: 127.0.0.1,localhost,testserver,[::1]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
- name: Install runtime and dev dependencies
run: sh tools/install-dev.sh
env:
BOOTSTRAP_PYTHON: python
- name: Install Playwright browsers
run: sh tools/install-browser.sh
env:
PLAYWRIGHT_INSTALL_ARGS: --with-deps chromium
- name: Core quality suite
run: sh tools/quality-core.sh
- name: File-enforce smoke tests
run: sh tools/test-backend-file-enforce-smoke.sh
- name: Playwright browser tests
run: sh tools/test-browser.sh
- name: Playwright storyboard browser tests
run: sh tools/test-browser-storyboard.sh
- name: Upload coverage XML
uses: actions/upload-artifact@v4
with:
name: coverage-xml
path: coverage.xml