Skip to content

Commit a17dee8

Browse files
committed
Add make install-ci target to install without editabel mode
1 parent 535e0cd commit a17dee8

File tree

20 files changed

+114
-1
lines changed

20 files changed

+114
-1
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
pip install pylint pytest pydocstyle wheel
3333
- name: Install
3434
run: |
35-
make install
35+
make install-ci
3636
- name: Lint
3737
run: |
3838
make lint

_delphi_utils_python/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ install: venv
88
pip install wheel ; \
99
pip install -e .
1010

11+
install-ci: venv
12+
. env/bin/activate; \
13+
pip install wheel ; \
14+
pip install .
15+
1116
lint:
1217
. env/bin/activate; pylint delphi_utils
1318
. env/bin/activate; pydocstyle delphi_utils

_template_python/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

cdc_covidnet/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

changehc/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

claims_hosp/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

combo_cases_and_deaths/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

covid_act_now/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

doctor_visits/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

google_symptoms/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ install: venv
1111
pip install -e ../_delphi_utils_python ;\
1212
pip install -e .
1313

14+
install-ci: venv
15+
. env/bin/activate; \
16+
pip install wheel ; \
17+
pip install ../_delphi_utils_python ;\
18+
pip install .
19+
1420
lint:
1521
. env/bin/activate; pylint $(dir)
1622
. env/bin/activate; pydocstyle $(dir)

0 commit comments

Comments
 (0)