Skip to content

Translations update from Hosted Weblate #143

Translations update from Hosted Weblate

Translations update from Hosted Weblate #143

Workflow file for this run

on:
pull_request_target:
types: [opened, synchronize, reopened]
name: Mypy
jobs:
mypy-checker:
name: Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Ubuntu dependencies
run: |
sudo apt update
sudo apt install -y libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
sudo apt install -y libcurl4-openssl-dev libssl-dev
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements.dev.txt
- name: Run mypy analysis
run: |
mypy --version
mypy bottles
sonar:
name: Sonar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}