Skip to content

Run workflow in correct directory #2

Run workflow in correct directory

Run workflow in correct directory #2

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@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Python dependencies
working-directory: ./test_app
run: |
pip install --upgrade pip
pip install -r requirements/local.txt
- name: Run migrations
working-directory: ./test_app
run: |
python manage.py makemigrations readux_ingest_ecds
python mange.py migrate
- name: Run Tests
working-directory: ./test_app
run: pytest tests/