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
21 changes: 10 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
build:
Expand All @@ -21,16 +19,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
- name: Install system dependencies
run: |
python -m pip install --upgrade pip

pip install -r requirements.txt
pip install pytest
sudo apt-get update
sudo apt-get install -y libmagic1

- name: Run StarryNote Tests
- name: Install Python dependencies
run: |
export PYTHONPATH=$PYTHONPATH:.
pytest tests/
python -m pip install --upgrade pip
pip install -r requirements-ci.txt

- name: Test with pytest
run: pytest tests -v
15 changes: 15 additions & 0 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ═══════════════════════════════════════════════════════════════
# S T A R R Y N O T E · CI Requirements
# Lightweight deps for GitHub Actions (no Apple Silicon needed)
# ═══════════════════════════════════════════════════════════════

# --- Terminal UI ---
rich # Cyberpunk TUI: neon panels, tables, progress bars

# --- File Processing ---
python-magic # MIME type detection via binary headers (libmagic)
pymupdf # High-performance PDF text & image extraction (fitz)
pillow # Image processing (PIL) for multimodal analysis

# --- Development & Testing ---
pytest # Unit testing framework
Loading