Refactored the code for testing and packaging

This commit is contained in:
Maximilien Rigaut 2022-01-25 04:29:09 +01:00
parent 4cf96638b8
commit 00cb0a5676
1 changed files with 1 additions and 1 deletions

View File

@ -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 .