From 1ef7224b1a5c72cb9cc3db3eb2fd75936887ebdc Mon Sep 17 00:00:00 2001 From: SporeStack Date: Thu, 18 Jan 2024 20:28:39 +0000 Subject: [PATCH] Adjustments to .woodpecker.yml --- .woodpecker.yml | 9 ++++++--- Makefile | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 077d085..78680bd 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,8 @@ steps: commands: - pip install pipenv==2023.11.15 - pipenv install --dev --deploy - - pipenv run almake test + - pipenv run almake test-typing + - pipenv run almake test-pytest - pipenv run almake build-dist - sha256sum dist/* @@ -13,7 +14,8 @@ steps: commands: - pip install pipenv==2023.11.15 - pipenv install --dev --deploy - - pipenv run almake test + - pipenv run almake test-typing + - pipenv run almake test-pytest - pipenv run almake build-dist - sha256sum dist/* @@ -22,7 +24,8 @@ steps: commands: - pip install pipenv==2023.11.15 - pipenv install --dev --deploy - - pipenv run almake test + - pipenv run almake test-typing + - pipenv run almake test-pytest - pipenv run almake build-dist - sha256sum dist/* diff --git a/Makefile b/Makefile index a3c454b..91ae6c8 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,12 @@ format: test: black --check . ruff . - mypy + $(MAKE) test-typing $(MAKE) test-pytest +test-typing: + mypy + test-pytest: python -m pytest --cov=sporestack --cov-fail-under=39 --cov-report=term --durations=3 --cache-clear