Skip to content

Commit

Permalink
chore(ci): attempt to fix test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 19, 2024
1 parent 8565afe commit d8ce82c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ jobs:
- name: Check for ungenerated database migrations
run: |
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}
cd ${{ github.workspace }}
DJANGO_SETTINGS_MODULE=app.pydotorg.settings.dev python app/manage.py makemigrations --check --dry-run
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}/app
cd ${{ github.workspace }}/app
DJANGO_SETTINGS_MODULE=pydotorg.settings.dev python manage.py makemigrations --check --dry-run
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg

- name: Run Tests
run: |
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}
cd ${{ github.workspace }}
DJANGO_SETTINGS_MODULE=app.pydotorg.settings.dev python -Wd -m coverage run app/manage.py test -v2
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}/app
cd ${{ github.workspace }}/app
DJANGO_SETTINGS_MODULE=pydotorg.settings.dev python -Wd -m coverage run manage.py test -v2
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg

Expand Down

0 comments on commit d8ce82c

Please sign in to comment.