Skip to content

Update build system to flit_core #284

Update build system to flit_core

Update build system to flit_core #284

Workflow file for this run

name: Check Quality
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
name: Checks
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install --upgrade pip setuptools flit
flit install --extras test
- name: "Analyse code with black"
run: black --diff --check sdk_entrepot_gpf tests
- name: "Analyse code with pylint"
run: pylint --rcfile=.pylintrc --disable=fixme sdk_entrepot_gpf --recursive=y
- name: "Analyse tests with pylint"
run: pylint --rcfile=.pylintrc --disable=fixme tests --recursive=y
- name: "Analyse code with mypy"
run: mypy --strict sdk_entrepot_gpf tests
- name: "Run unit tests"
run: coverage run -m unittest discover -b -p *TestCase.py