From 305fe35e8f16ef85ceb18000a7c8f029dff3ff2a Mon Sep 17 00:00:00 2001 From: diversemix Date: Tue, 4 Jun 2024 14:25:22 +0100 Subject: [PATCH] Add coverage to all Makefile tests --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 25801a0e..472229e3 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,10 @@ build_dev: docker compose build unit_test: build - docker compose run --rm navigator-admin-backend pytest -vvv tests/unit_tests + docker compose run --rm navigator-admin-backend pytest -vvv tests/unit_tests --cov=app --cov-fail-under=80 --cov-report=term --cov-report=html integration_test: build_dev - docker compose run --rm navigator-admin-backend pytest -vvv tests/integration_tests + docker compose run --rm navigator-admin-backend pytest -vvv tests/integration_tests --cov=app --cov-fail-under=80 --cov-report=term --cov-report=html test: build_dev docker compose run --rm navigator-admin-backend -- pytest -vvv tests --cov=app --cov-fail-under=80 --cov-report=term --cov-report=html