Skip to content

Update translation step in GitHub Actions to use utils/translate2js.py #69

Update translation step in GitHub Actions to use utils/translate2js.py

Update translation step in GitHub Actions to use utils/translate2js.py #69

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches: ["**"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dev deps
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint (ruff)
run: ruff check .
- name: Format check (black)
run: black --check .
- name: Type check (mypy)
run: mypy .
- name: Tests (pytest)
run: pytest