Skip to content

Commit

Permalink
Separate tests and build
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePeltier committed May 4, 2021
1 parent 70b22aa commit b35bc3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ jobs:
mkdir ./conf
echo "$API_FILE" >> ./conf/api.ini
- name: Run Tests
- name: Build Objects
working-directory: ./src/LukeWebsite
run: |
python manage.py collectstatic --noinput --settings=LukeWebsite.settings.testing
python manage.py migrate --settings=LukeWebsite.settings.testing
- name: Run Tests
working-directory: ./src/LukeWebsite
run: |
pytest

0 comments on commit b35bc3a

Please sign in to comment.