updated workflow
Python application / build (push) Successful in 31s

This commit is contained in:
brb
2023-07-11 10:04:06 +02:00
parent 4ccb357f7c
commit 3c1d93726e
+1 -4
View File
@@ -13,14 +13,11 @@ jobs:
with:
python-version: "3.10"
architecture: "x64"
- name: Install Dependencies
- name: Install Packages
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 ./code
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 ./code --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics