fix(eventos): PR #15 follow-ups — Escape case B, mobile track panel, … #99
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: '3.12' | |
| enable-cache: true | |
| - name: Install test dependencies | |
| run: uv sync --extra dev | |
| - name: Compile and test | |
| env: | |
| BOUNDARY_SYNC_ENABLED: 'false' | |
| SCHEDULER_INITIAL_DELAY_SECONDS: '9999' | |
| TRUSTED_HOSTS: testserver,localhost,127.0.0.1 | |
| DATABASE_PATH: /tmp/flight-geofence-ci.db | |
| DOWNLOAD_DIR: /tmp/flight-geofence-downloads | |
| run: | | |
| uv run python -m compileall -q app tests | |
| uv run pytest -q | |
| - name: Check frontend syntax | |
| run: node --check app/static/app.js | |
| - name: Validate Compose | |
| run: cp .env.example .env && docker compose config --quiet | |
| - name: Build container | |
| run: docker build --pull --tag flight-geofence-alerts:ci . |