mirror of
https://github.com/apache/superset.git
synced 2026-04-09 03:16:07 +00:00
fix(babel): broken babel extract (#9790)
* fix(babel): broken babel extract * remove unnecessary f strings
This commit is contained in:
committed by
GitHub
parent
34df11a61c
commit
ea9b7f2dc4
21
.github/workflows/superset-python.yml
vendored
21
.github/workflows/superset-python.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user