Skip to content

Commit

Permalink
Use test settings file in collectstatic call
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Feb 7, 2024
1 parent bd66db2 commit 17967dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
pip-sync requirements/requirements.txt requirements/test-requirements.txt
- name: Collect staticfiles
run: python manage.py collectstatic --noinput
run: python manage.py collectstatic --noinput --settings=config.settings.test

- name: Run tests
run: coverage run -p -m pytest
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
pip-sync requirements/requirements.txt requirements/test-requirements.txt
- name: Collect staticfiles
run: python manage.py collectstatic --noinput
run: python manage.py collectstatic --noinput --settings=config.settings.test

- name: Run tests
run: coverage run -p -m pytest
Expand Down

0 comments on commit 17967dc

Please sign in to comment.