Skip to content

Commit 6526d6f

Browse files
committed
Add sphinx-lint, make sphinx quiet
1 parent d7fda40 commit 6526d6f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-translations.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/checkout@v4
3535
with:
3636
ref: ${{ env.I18N_BRANCH }}
37-
37+
3838
- name: List languages
3939
id: languages
4040
working-directory: locales
@@ -65,7 +65,10 @@ jobs:
6565
3.10
6666
6767
- name: Install Python tooling
68-
run: python -m pip install --upgrade nox virtualenv
68+
run: python -m pip install --upgrade nox virtualenv sphinx-lint
6969

7070
- name: Build translated docs in ${{ matrix.language }}
71-
run: nox -s build -- -D language=${{ matrix.language }}
71+
run: nox -s build -- -q -D language=${{ matrix.language }}
72+
73+
- name: Lint translation file
74+
run: sphinx-lint locales/${{ matrix.language }}/LC_MESSAGES/message.po

0 commit comments

Comments
 (0)