Skip to content

Try running with less RAM #31

Try running with less RAM

Try running with less RAM #31

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
# Run in same container as production for consistent Tesseract OCR results
container:
image: python:3.13-slim-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends tesseract-ocr tesseract-ocr-eng
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r api/requirements.txt
pip install pytest
- name: Run unit tests
run: python -m pytest tests/test_system_status.py tests/test_train_detection.py -v --tb=short