diff --git a/Makefile b/Makefile index ccf35e4..78e990b 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ .PHONY: help - help: @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' - +.PHONY: clean clean: ## remove python cache files find . -name '__pycache__' | xargs rm -rf find . -name '*.pyc' -delete @@ -14,46 +13,46 @@ clean: ## remove python cache files rm -rf .mypy_cache rm -rf .coverage - +.PHONY: install install: ## install packages in virtualenv @./dev/install - +.PHONY: lint lint: ## run linters @poetry run ./dev/lint-code fix - +.PHONY: lint-check lint-check: ## run black check in CI @poetry run ./dev/lint-code - +.PHONY: outdated outdated: ## Show outdated packages poetry show -o -a - +.PHONY: version version: ## display software version @poetry run python -c "import kong; print(kong.__version__)" - +.PHONY: services services: ## Starts services @docker-compose -f ./dev/docker-compose.yml up --remove-orphans - +.PHONY: services-ci services-ci: ## Starts CI services @docker-compose -f ./dev/docker-compose.yml up --remove-orphans -d - +.PHONY: test test: ## run tests @poetry run pytest -x -vvv --cov --cov-report xml --cov-report html - +.PHONY: test-codecov test-codecov: ## upload code coverage @poetry run codecov --token $(CODECOV_TOKEN) --file ./build/coverage.xml - +.PHONY: test-version test-version: ## check version compatibility @./dev/test-version - +.PHONY: publish publish: ## release to pypi and github tag @poetry publish --build -u __token__ -p $(PYPI_TOKEN) diff --git a/readme.md b/readme.md index c061b1b..86d56f1 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ [![Downloads](https://img.shields.io/pypi/dd/aio-kong.svg)](https://pypi.org/project/aio-kong/) -Tested with [kong][] v3.7 +Tested with [kong][] v3.8 ## Installation & Testing