GitHub worklflow update
This commit is contained in:
parent
81c1469752
commit
575bb60f05
18
.github/workflows/pythonpackage.yml
vendored
18
.github/workflows/pythonpackage.yml
vendored
@ -19,7 +19,15 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
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
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8
|
pip install flake8
|
||||||
@ -27,7 +35,7 @@ jobs:
|
|||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
# 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
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
- name: Test with pytest
|
# - name: Test with pytest
|
||||||
run: |
|
# run: |
|
||||||
pip install pytest
|
# pip install pytest
|
||||||
pytest
|
# pytest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user