Skip to content

Commit

Permalink
Try running collectstatic
Browse files Browse the repository at this point in the history
  • Loading branch information
samamorgan committed Oct 18, 2022
1 parent 8525cf8 commit 04f24fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
- name: Run tests
working-directory: ./sampleapp
run: poetry run coverage run --source='.' -m pytest
run: |
poetry run ./manage.py collectstatic --no-input
poetry run coverage run --source='.' -m pytest
services:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.repo_name}}/.github/workflows/django_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ jobs:
- name: Run tests
run: |
poetry run ./manage.py collectstatic --no-input
poetry run coverage run --source='.' -m pytest
poetry run ./manage.py collectstatic --noinput
services:
postgres:
Expand Down

0 comments on commit 04f24fb

Please sign in to comment.