Skip to content

Commit e2aaaac

Browse files
committed
updated makefile, updated workflows with make
1 parent 47c83f5 commit e2aaaac

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/code_coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
python-version: 3.7
1818
- name: Install dependencies
1919
run: |
20-
python -m pip install --upgrade pip
21-
pip install pytest coverage geopandas .
20+
make ci
2221
- name: Coverage
2322
run: |
2423
make coverage

.github/workflows/lint_and_test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
python-version: 3.7
1414
- name: Install dependencies
1515
run: |
16-
python -m pip install --upgrade pip
17-
pip install flake8 pep8-naming flake8-bugbear flake8-docstrings .
16+
make ci
1817
- name: Lint
1918
working-directory: ${{ github.workspace }}
2019
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
python-version: 3.7
1818
- name: Install dependencies
1919
run: |
20-
python -m pip install --upgrade pip
21-
pip install flake8 pep8-naming flake8-bugbear flake8-docstrings .
20+
make ci
2221
- name: Lint and Test
2322
run: |
2423
make lint

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ dev:
1010
pip install -r requirements-dev.txt
1111
pre-commit install
1212

13+
ci:
14+
python -m pip install --upgrade pip
15+
pip install flake8 pep8-naming flake8-bugbear flake8-docstrings pytest coverage geopandas
16+
pip install .
17+
1318
clean:
1419
rm -rf `find . -type d -name .pytest_cache`
1520
rm -rf `find . -type d -name __pycache__`

0 commit comments

Comments
 (0)