-
Notifications
You must be signed in to change notification settings - Fork 51
36 lines (33 loc) · 957 Bytes
/
strings.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: Strings
on:
push:
branches: [ development ]
paths:
- 'src/pretalx/locale/**'
pull_request:
branches: [ development ]
paths:
- 'src/pretalx/locale/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
compile:
runs-on: ubuntu-latest
name: Check that translation files compile
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version-file: ".github/workflows/python-version.txt"
cache: "pip"
- name: Install system dependencies
run: |
sudo apt update
sudo apt install gettext
- name: Install Python dependencies
run: python -m pip install -e ".[dev]"
- name: Compile locales
run: python manage.py compilemessages
working-directory: ./src