Skip to content

Commit

Permalink
Merge pull request #596 from CTPUG/translation-ci
Browse files Browse the repository at this point in the history
Compile translations in CI
  • Loading branch information
drnlm committed Jun 7, 2021
2 parents 37af488 + 4fcde8d commit 639d1d3
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
pip install django~=${{ matrix.django-version }}
- name: Install Django Release
run: |
pip install django~=${{ matrix.django-version }}
Expand All @@ -91,3 +90,22 @@ jobs:
continue-on-error: ${{ matrix.django-version == '3.1.0' || matrix.django-version == 'main' }}
run: |
NOSE_WITH_COVERAGE=1 NOSE_COVER_PACKAGE=wafer python manage.py test
translations:
runs-on: ubuntu-latest
name: Compile Translations
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Install gettext
run: |
sudo apt-get -y install gettext
- name: Compile Translations
run: |
cd wafer
python ../manage.py compilemessages

0 comments on commit 639d1d3

Please sign in to comment.