fix(babel): broken babel extract (#9790)

* fix(babel): broken babel extract

* remove unnecessary f strings
This commit is contained in:
Daniel Vaz Gaspar
2020-05-15 19:05:24 +01:00
committed by GitHub
parent 34df11a61c
commit ea9b7f2dc4
3 changed files with 31 additions and 7 deletions

View File

@@ -50,6 +50,27 @@ jobs:
- name: Build documentation
run: sphinx-build -b html docs _build/html -W
babel-extract:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: apache-superset/cached-dependencies@adc6f73
with:
run: |
pip-install
pip install -r docs/requirements.txt
- name: Test babel extraction
run: flask fab babel-extract --target superset/translations --output superset/translations/messages.pot --config superset/translations/babel.cfg -k _,__,t,tn,tct
test-postgres:
runs-on: ubuntu-18.04
strategy: