diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c1e14c978..3b9b1e6ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,6 +37,16 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt -r tests/requirements.txt pip install . + - name: Check .pot file freshness + if: matrix.python-version == '3.12' + run: | + python -m pip install setuptools Babel==2.14.0 + python setup.py extract_messages + git diff \ + -I '^"Project-Id-Version:' \ + -I '^"POT-Creation-Date:' \ + -I '^"Generated-By:' \ + --exit-code l10n/messages.pot - name: Test with pytest run: | mkdir artifacts