fix: update coverage command to include tests for posts and users
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 7s
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 7s
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ clean:
|
||||
rm -rf test.db
|
||||
rm -rf htmlcov
|
||||
coverage: clean
|
||||
pytest --cov=papi test_papi.py --junitxml=report.xml --cov-report=html --cov-report=xml --cov-report=term --cov-fail-under 90
|
||||
pytest --cov=papi --cov=posts --cov=users test_papi.py test_posts.py test_users.py --junitxml=report.xml --cov-report=html --cov-report=xml --cov-report=term --cov-fail-under 90
|
||||
docker-img: coverage
|
||||
docker build -t ${DOCK_IMG} .
|
||||
docker-push: docker-img
|
||||
|
||||
Reference in New Issue
Block a user