From 11e519f5f4291c4711835e10e2d26e757d8f863f Mon Sep 17 00:00:00 2001 From: Ali Aliyev Date: Sun, 26 Jan 2025 02:51:50 +0400 Subject: [PATCH] upd: tests configuration --- Makefile | 3 +-- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c858f1..2a2f8fb 100644 --- a/Makefile +++ b/Makefile @@ -51,8 +51,7 @@ lint: ## check style with flake8 pre-commit run --all-files test: ## run tests quickly with the default Python - coverage run -m pytest tests - coverage xml -o junit.xml + pytest --cov --junitxml=junit.xml -o junit_family=legacy release: dist ## package and upload a release twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 5ee7304..c1a81e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ dev = [ "mypy", "bandit", "pre-commit", + "pytest-cov", ] docs = [