Added new translations #9
Workflow file for this run
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
on: [push, pull_request] | |
name: Static Analysis | |
jobs: | |
mypy-checker: | |
name: Mypy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Print current dir | |
run: pwd | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install Ubuntu dependencies | |
run: | | |
sudo apt update | |
sudo apt-get install libdbus-1-dev pkg-config libgirepository1.0-dev | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
make req-python | |
make dev | |
- name: Run mypy analysis | |
run: | | |
mypy --version | |
mypy . | |
ruff-checker: | |
name: Ruff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
make dev | |
- name: Check code style | |
run: | |
ruff --version | |
ruff check . | |
- name: Check format | |
continue-on-error: true # TODO remove this line when format is applied | |
run: ruff format . --check |