From 575bb60f05d816b144f4f140ebf829a9629582c5 Mon Sep 17 00:00:00 2001 From: KEriks Date: Wed, 24 Nov 2021 14:36:15 +0200 Subject: [PATCH] GitHub worklflow update --- .github/workflows/pythonpackage.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 4fa9cd7..386de5a 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -19,7 +19,15 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements_dev.txt + pip install -r requirements-dev.txt + - name: Lint with isort + run: | + pip install -U isort + isort --check erepublik + - name: Lint with Black + run: | + pip install -U black + black --check erepublik - name: Lint with flake8 run: | pip install flake8 @@ -27,7 +35,7 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pip install pytest - pytest +# - name: Test with pytest +# run: | +# pip install pytest +# pytest