dashboard: Extract color_scheme for all charts #24
This file contains 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 Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "poetry" | |
- name: Install Python dependencies | |
run: poetry install --no-root --with=dev | |
- name: Run linters | |
run: poetry run ./scripts/lint | |
- name: Ensure pyproject.toml and poetry.lock are in sync | |
run: | | |
poetry check | |
- name: Ensure models and migrations are in sync | |
run: | | |
poetry run alembic upgrade head | |
poetry run alembic check |