Skip to content

Commit

Permalink
ci: Fail the daily on missing template
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Oct 22, 2023
1 parent 820a7a1 commit 0277798
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- "no"
- "pt"
- "ro"
- "ru"
# - "ru"
- "sv"

steps:
Expand All @@ -71,4 +71,9 @@ jobs:
run: python -Wd -m wikidict ${{ matrix.locale }} --get-word=''

- name: Check that random word
id: check-word
run: python -Wd -m wikidict ${{ matrix.locale }} --check-word=${{ steps.get-word.outputs.word }}

- name: Missing template(s)?
if: contains(steps.check-word.outputs.stdout, '!! Missing')
run: exit 1

0 comments on commit 0277798

Please sign in to comment.