Skip to content

Test translations

Test translations #234

name: Test translations
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
translations:
name: Check missing translations
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache-dependency-path: pyproject.toml
- name: Install napari
run: |
pip install -e ".[all]"
pip install -e ".[testing]"
- name: Run check
run: |
python -m pytest -Wignore tools/ --tb=short
- uses: JasonEtco/create-an-issue@v2
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/missing_translations.md
update_existing: true