Skip to content

Commit

Permalink
github/workflows: add make po to check for faulty translation files
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and philli-m committed Oct 31, 2023
1 parent 1b2249c commit 4687cb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ jobs:
npm run build
pip install -r requirements/dev.txt
pip install coveralls
sudo apt install gettext -y
- name: Run Tests
env:
PGPASSWORD: postgres
PGHOSTADDR: 127.0.0.1
run: |
python manage.py collectstatic > /dev/null
python manage.py makemessages --all --no-obsolete --extension html,email,py --ignore venv --ignore node_modules
python manage.py makemessages --all --no-obsolete -d djangojs --ignore venv --ignore node_modules
DJANGO_SETTINGS_MODULE='digitalstrategie.settings.travis' py.test --cov
isort --diff -c digitalstrategie tests
python manage.py makemigrations --dry-run --check --noinput
Expand Down
3 changes: 3 additions & 0 deletions changelog/_0002.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- add check for faulty po files to CI

0 comments on commit 4687cb3

Please sign in to comment.