Skip to content

Commit a58e1f9

Browse files
committed
add make install
1 parent 033df24 commit a58e1f9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ jobs:
2222
python-version: 3.8
2323
- name: Install dependencies
2424
run: |
25-
python -m pip install --upgrade pip
26-
pip install flake8 pytest
27-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+
python3 -m pip install --upgrade pip
26+
make install
2827
- name: Lint with flake8
2928
run: |
3029
# stop the build if there are Python syntax errors or undefined names

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ all: install example
44
.PHONY: install
55
install:
66
pip3 install -r requirements.txt
7+
pip3 install -r requirements-dev.txt
78

89
.PHONY: bot
910
bot:

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
flake8
2+
pytest

0 commit comments

Comments
 (0)