File tree Expand file tree Collapse file tree 5 files changed +275
-294
lines changed
Expand file tree Collapse file tree 5 files changed +275
-294
lines changed Original file line number Diff line number Diff line change 2121 pip install pytest coverage geopandas .
2222 - name : Coverage
2323 run : |
24- coverage run -m pytest
24+ make coverage
2525 coverage xml -o "coverage.xml"
2626 - name : Codacy Coverage Reporter
2727 uses : codacy/codacy-coverage-reporter-action@master
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 - name : Install dependencies
1515 run : |
1616 python -m pip install --upgrade pip
17- pip install flake8 pep8-naming .
17+ pip install flake8 pep8-naming flake8-bugbear flake8-docstrings .
1818 - name : Lint
1919 working-directory : ${{ github.workspace }}
2020 run : |
21- flake8
21+ make lint
2222 test :
2323 name : Code Testing
2424 runs-on : ubuntu-latest
3535 - name : Test
3636 working-directory : ${{ github.workspace }}
3737 run : |
38- pytest --verbose
38+ make test
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
1818 - name : Install dependencies
1919 run : |
2020 python -m pip install --upgrade pip
21- pip install flake8 pep8-naming pytest geopandas .
21+ pip install flake8 pep8-naming flake8-bugbear flake8-docstrings .
2222 - name : Lint and Test
2323 run : |
24- flake8
25- pytest
24+ make lint
25+ make test
2626 - name : Build
2727 run : |
2828 pip install setuptools wheel twine
Original file line number Diff line number Diff line change 1818 rm -f .coverage
1919
2020test : clean
21+ pytest
22+
23+ coverage : clean
2124 coverage run -m pytest
2225 coverage report
2326
You can’t perform that action at this time.
0 commit comments