Skip to content

Merge pull request #130 from kbialek/feature/log-error-to-switch-prot… #126

Merge pull request #130 from kbialek/feature/log-error-to-switch-prot…

Merge pull request #130 from kbialek/feature/log-error-to-switch-prot… #126

name: Code quality check
on: [push, pull_request]
jobs:
code-quality-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Static code analysis
run: |
make py-check-code
- name: Test with pytest
run: |
make test