Skip to content

Commit

Permalink
Add coverage to all Makefile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diversemix committed Jun 4, 2024
1 parent 0325f55 commit 305fe35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 305fe35

Please sign in to comment.