on: [push]
jobs:
static-analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://github.com/actions/setup-python@v5
with:
python-version: 3.12
- uses: https://github.com/arduino/setup-task@v1
version: 3.36
- run: |
pip install -r ./requirements.txt
pip install -r ./requirements_dev.txt
pip install .
- name: Formatting
run: task format
- name: Import sort
run: task isort
- name: Linting
run: task lint
test:
name: Tests
github-server-url: https://forge.karnov.club
pip install -r ./requirements_test.txt
- name: Test suites
run: task test