From d8ce82cc684212118a06e81b5bfa4bd57bd80720 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Thu, 19 Sep 2024 16:55:45 -0500 Subject: [PATCH] chore(ci): attempt to fix test ci --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3c9fa5be..cfcdbaa32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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