Skip to content

Commit a6343bc

Browse files
vpeterssonclaude
andcommitted
fix: use manage.py instead of python -m django in test workflow
python -m django doesn't set DJANGO_SETTINGS_MODULE, causing ImproperlyConfigured error. manage.py sets it correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c6bf161 commit a6343bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-runner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
docker compose exec anthias-test \
5656
bash ./bin/prepare_test_environment.sh
5757
docker compose exec anthias-test \
58-
python -m django migrate --run-syncdb
58+
./manage.py migrate --run-syncdb
5959
docker compose exec anthias-test \
60-
python -m django collectstatic --noinput --clear
60+
./manage.py collectstatic --noinput --clear
6161
6262
- name: Run Python integration tests
6363
run: |

0 commit comments

Comments
 (0)