Merge pull request #90 from drewkerrigan/chore/update-makefile

Update makefile
This commit is contained in:
Markus Opolka 2024-05-16 10:16:30 +02:00 committed by GitHub
commit 6b51e1bb06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.8, 3,9] python-version: [3.8, 3.11, 3.12]
name: GitHub Action name: GitHub Action
steps: steps:
- name: Checkout - name: Checkout

View File

@ -1,9 +1,11 @@
.PHONY: lint test coverage .PHONY: lint test coverage
PYTHON_PATH?=python3
lint: lint:
python -m pylint check_http_json.py $(PYTHON_PATH) -m pylint check_http_json.py
test: test:
python -m unittest discover $(PYTHON_PATH) -m unittest discover
coverage: coverage:
python -m coverage run -m unittest discover $(PYTHON_PATH) -m coverage run -m unittest discover
python -m coverage report -m --include check_http_json.py $(PYTHON_PATH) -m coverage report -m --include check_http_json.py