Skip to content

Commit

Permalink
Run workflow in correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jan 11, 2024
1 parent 66c116c commit b3699cc
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions test_app/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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
run: |
cd test_app
pip install --upgrade pip
pip install -r requirements/local.txt
- name: Run migrations
run: |
cd test_app
python manage.py makemigrations readux_ingest_ecds
python mange.py migrate
- name: Run Tests
run: |
cd test_app
pytest tests/

0 comments on commit b3699cc

Please sign in to comment.