Skip to content

Commit

Permalink
Merge pull request #90 from drewkerrigan/chore/update-makefile
Browse files Browse the repository at this point in the history
Update makefile
  • Loading branch information
martialblog authored May 16, 2024
2 parents 1f52898 + 3f73984 commit 6b51e1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3,9]
python-version: [3.8, 3.11, 3.12]
name: GitHub Action
steps:
- name: Checkout
Expand Down
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.PHONY: lint test coverage

PYTHON_PATH?=python3

lint:
python -m pylint check_http_json.py
$(PYTHON_PATH) -m pylint check_http_json.py
test:
python -m unittest discover
$(PYTHON_PATH) -m unittest discover
coverage:
python -m coverage run -m unittest discover
python -m coverage report -m --include check_http_json.py
$(PYTHON_PATH) -m coverage run -m unittest discover
$(PYTHON_PATH) -m coverage report -m --include check_http_json.py

0 comments on commit 6b51e1b

Please sign in to comment.