Spaces:
Running
Running
| name: Deploy to Streamlit Cloud | |
| # Streamlit Cloud deploys automatically when you push to the | |
| # branch configured in your Streamlit Cloud app settings. | |
| # This workflow just confirms the app starts cleanly. | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| validate-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install runtime dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Verify app entry point is importable | |
| run: python -c "import dashboard.app" | |
| env: | |
| DATABASE_URL: "sqlite:///:memory:" | |
| API_BASE_URL: "http://localhost:8000" | |