Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ on:
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 3.13 is the version the dashboard is deployed on (Streamlit Community
# Cloud); 3.11 is kept as a lower bound. Testing both keeps the deployed
# interpreter covered by CI.
python-version: ['3.11', '3.13']
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}

- name: Install dev dependencies
run: pip install -r requirements-dev.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pipeline dependencies out of the hosted build:
- **Repository:** `Effyrt/Docuparse`
- **Branch:** `main`
- **Main file path:** `dashboard/app.py`
- **Python version** (Advanced settings): `3.11`
- **Python version** (Advanced settings): `3.13`
4. Click **Deploy**.

**Why this works cleanly:** Community Cloud searches the entrypoint's directory
Expand Down
2 changes: 1 addition & 1 deletion dashboard/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
minutes per document); it reads the JSON/markdown the pipeline already produced.

Run locally:
pip install -r requirements-dashboard.txt
pip install -r dashboard/requirements.txt
streamlit run dashboard/app.py

All data access lives in dashboard/data_loader.py (pure stdlib, unit-tested).
Expand Down
Loading