Skip to content

Merge pull request #222 from lcduong/sync-upstream-oct #42

Merge pull request #222 from lcduong/sync-upstream-oct

Merge pull request #222 from lcduong/sync-upstream-oct #42

Workflow file for this run

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]" polib
- name: Compile locales
run: python manage.py compilemessages
working-directory: ./src