Skip to content

Improve handling no OCR file #100

Improve handling no OCR file

Improve handling no OCR file #100

Workflow file for this run

name: CI
on:
push:
branches:
- develop
- main
env:
DJANGO_ENV: test
jobs:
pytest:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Python dependencies
run: |
cd test_app
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo apt install -y ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb
pip install --upgrade pip
pip install -r requirements.txt
- name: Run migrations
run: |
cd test_app
python manage.py makemigrations readux_ingest_ecds
python manage.py migrate
- name: Run Tests
run: |
cd test_app
pytest tests/