Skip to content

feat(ui): demo-polish round — leave/delete, event dates, vibe presets, micro-interactions #70

feat(ui): demo-polish round — leave/delete, event dates, vibe presets, micro-interactions

feat(ui): demo-polish round — leave/delete, event dates, vibe presets, micro-interactions #70

Workflow file for this run

# Run tests on every push / PR to main.
# BigQuery integration tests (tests/test_bigquery_integration.py) are skipped
# unless RUN_BQ_INTEGRATION=1 and credentials exist — not required in CI by default.
name: CI
on:
push:
branches: [main, sai]
# Run CI on every PR regardless of base branch so stacked PRs (e.g. PR 2
# targeting PR 1's branch) still get test coverage before merge.
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install ruff
run: pip install ruff==0.15.11
- name: Ruff lint
run: ruff check .
- name: Ruff format check
run: ruff format --check .
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.11"
cache: "pip"
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
# Keep BigQuery integration tests skipped in CI (no ADC by default).
RUN_BQ_INTEGRATION: "0"
# `-m "not live"` skips tests marked @pytest.mark.live (real OpenAI calls).
run: pytest tests/ -v -m "not live"