Skip to content

Commit

Permalink
build: add translations validation to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Oct 13, 2022
1 parent 69c929d commit fd9564f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ jobs:
- name: Install Required System Packages
run: |
sudo apt-get update
sudo apt-get install -y libxmlsec1-dev ubuntu-restricted-extras xvfb libxml2-dev libxslt-dev python3-dev libevent-dev python3-pip python3-venv libgtk2.0-0 libxt6
sudo apt-get install -y libxmlsec1-dev ubuntu-restricted-extras xvfb libxml2-dev libxslt-dev python3-dev libevent-dev python3-pip python3-venv gettext libgtk2.0-0 libxt6
- name: Install Dependencies
run: make requirements

- name: Check if translations are up-to-date
run: make check_translations_up_to_date

- name: Run quality checks
run: make test.quality

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ pull_translations: ## pull translations from transifex
push_translations: ## push translations to transifex
tx push -s

check_translations_up_to_date: extract_translations compile_translations dummy_translations detect_changed_source_translations ## extract, compile, and check if translation files are up-to-date

install_firefox:
mkdir -p test_helpers
cd test_helpers && wget "https://ftp.mozilla.org/pub/firefox/releases/43.0/linux-x86_64/en-US/firefox-43.0.tar.bz2" && tar -xjf firefox-43.0.tar.bz2
Expand Down

0 comments on commit fd9564f

Please sign in to comment.