Make sure install happens before running tests
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
400c2d421d
commit
d09b878444
6
Makefile
6
Makefile
@ -18,12 +18,12 @@ install:
|
|||||||
devenv: install
|
devenv: install
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint: devenv
|
||||||
poetry run pre-commit run --all-files
|
poetry run pre-commit run --all-files
|
||||||
|
|
||||||
# Runs tests
|
# Runs tests
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test: devenv
|
||||||
poetry run pytest
|
poetry run pytest
|
||||||
|
|
||||||
# Builds wheel for package to upload
|
# Builds wheel for package to upload
|
||||||
@ -65,7 +65,7 @@ install-hooks: devenv
|
|||||||
poetry run pre-commit install -f --install-hooks
|
poetry run pre-commit install -f --install-hooks
|
||||||
|
|
||||||
# Generates test coverage
|
# Generates test coverage
|
||||||
.coverage:
|
.coverage: devenv
|
||||||
poetry run pytest
|
poetry run pytest
|
||||||
|
|
||||||
# Builds coverage html
|
# Builds coverage html
|
||||||
|
Loading…
Reference in New Issue
Block a user