forked from napari/napari
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 955 Bytes
/
test_translations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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