Skip to content

Commit

Permalink
Merge pull request #57 from SADiLaR/feature/validate_templates
Browse files Browse the repository at this point in the history
Feature: validate templates
  • Loading branch information
friedelwolff authored May 27, 2024
2 parents 0bc6da1 + d6d6667 commit c730089
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
run: |
sudo mkdir -p /logging
sudo chown runner:runner /logging
- name: Run validate_templates
run: |
cp .env.testing app/.env
cd app/
mkdir -p static_files
python manage.py validate_templates
- name: Run Tests
run: |
cp .env.testing app/.env
Expand Down
3 changes: 1 addition & 2 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [
BASE_DIR,
"templates",
BASE_DIR / "templates",
],
"APP_DIRS": True,
"OPTIONS": {
Expand Down

0 comments on commit c730089

Please sign in to comment.