Skip to content

Merge pull request #219 from kbialek/feature/sg04lp3-total-power #394

Merge pull request #219 from kbialek/feature/sg04lp3-total-power

Merge pull request #219 from kbialek/feature/sg04lp3-total-power #394

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