Skip to content

Streamlit Cloud deploy readiness + diagnostics + config validator #21

Streamlit Cloud deploy readiness + diagnostics + config validator

Streamlit Cloud deploy readiness + diagnostics + config validator #21

Workflow file for this run

name: CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install ruff
- name: Compile all Python files (syntax gate)
run: python -m compileall .
- name: Syntax check (compileall)
run: python scripts/check_syntax.py
- name: Ruff lint
run: ruff check .
- name: Run tests
run: pytest -q