Update taxonomy.simple.yaml (#47) #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Process Simple Yaml | |
run: | | |
python tools/process_simple.py | |
head taxonomy.yaml | |
- name: Translate | |
env: | |
TRANSIFEX_TOKEN: ${{secrets.TRANSIFEX_TOKEN}} | |
run: | | |
python tools/translate.py | |
- name: Generate MD | |
run: | | |
python tools/to_markdown.py | |
- name: Generate CSV | |
run: | | |
python -m tools.to_csv | |
- name: git identity | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "Adam Kariv" | |
- name: Push artifacts | |
run: | | |
(git add taxonomy.yaml taxonomy.tx.yaml TAXONOMIES.md formats && git commit -m "Automatic update of artifacts" && git push) || true |