ci: fix test jobs for i18n keys

This commit is contained in:
Alexandre Aubin 2021-09-01 15:02:30 +02:00
parent 377e74aa8e
commit 5501556dff

View file

@ -53,15 +53,17 @@ full-tests:
test-i18n-keys: test-i18n-keys:
extends: .test-stage extends: .test-stage
script: script:
- python3 -m pytest tests tests/test_i18n_keys.py - python3 -m pytest tests/test_i18n_keys.py
only: only:
changes: changes:
- locales/* - locales/en.json
- src/yunohost/*.py
- data/hooks/diagnosis/*.py
test-translation-format-consistency: test-translation-format-consistency:
extends: .test-stage extends: .test-stage
script: script:
- python3 -m pytest tests tests/test_translation_format_consistency.py - python3 -m pytest tests/test_translation_format_consistency.py
only: only:
changes: changes:
- locales/* - locales/*