diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index b2f65eb..152500f 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -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 diff --git a/Makefile b/Makefile index 4cb4ed6..d5aa2d5 100644 --- a/Makefile +++ b/Makefile @@ -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