Refactored the code for testing and packaging
This commit is contained in:
parent
4cf96638b8
commit
00cb0a5676
|
|
@ -28,6 +28,7 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest
|
||||
pip install -r requirements_dev.txt
|
||||
pip install .
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
|
|
@ -36,5 +37,4 @@ jobs:
|
|||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pip install .
|
||||
pytest .
|
||||
|
|
|
|||
Loading…
Reference in New Issue