Skip to content

Commit 6b51e1b

Browse files
author
Markus Opolka
authored
Merge pull request #90 from drewkerrigan/chore/update-makefile
Update makefile
2 parents 1f52898 + 3f73984 commit 6b51e1b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.8, 3,9]
10+
python-version: [3.8, 3.11, 3.12]
1111
name: GitHub Action
1212
steps:
1313
- name: Checkout

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.PHONY: lint test coverage
22

3+
PYTHON_PATH?=python3
4+
35
lint:
4-
python -m pylint check_http_json.py
6+
$(PYTHON_PATH) -m pylint check_http_json.py
57
test:
6-
python -m unittest discover
8+
$(PYTHON_PATH) -m unittest discover
79
coverage:
8-
python -m coverage run -m unittest discover
9-
python -m coverage report -m --include check_http_json.py
10+
$(PYTHON_PATH) -m coverage run -m unittest discover
11+
$(PYTHON_PATH) -m coverage report -m --include check_http_json.py

0 commit comments

Comments
 (0)