-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 797 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.PHONY: docs
docs:
@poetry run pydoc-markdown
.PHONY: install
install:
@poetry install
.PHONY: install-dev
install-dev:
@poetry install --with=dev
.PHONY: lint
lint:
@poetry run ruff check src tests
.PHONY: lint-fix
lint-fix:
@poetry run ruff check src tests --fix
.PHONY: test-integration
test-integration: install-dev
@poetry run pytest --cov-report term-missing --cov=./src ./tests/integration
.PHONY: install-dev test-integration-multi-language
test-integration-multi-language:
@poetry run tox
.PHONY: test-unit
test-unit: install-dev
@poetry run pytest --cov-report term-missing --cov=./src ./tests/unit
.PHONY: prerelease
prerelease: test-unit test-integration-multi-language
@rm -rf dist
@poetry build
.PHONY: release
release: prerelease
@poetry run twine upload dist/*