From 21a63d18ae6078f01526248255f8e1a0a951b660 Mon Sep 17 00:00:00 2001 From: "bodong.yang" Date: Thu, 16 Nov 2023 07:00:41 +0000 Subject: [PATCH] let coverage fully run --- docker/docker-compose_tests.yml | 2 +- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/docker-compose_tests.yml b/docker/docker-compose_tests.yml index d52ec3cc0..89650d5b2 100644 --- a/docker/docker-compose_tests.yml +++ b/docker/docker-compose_tests.yml @@ -6,7 +6,7 @@ services: dockerfile: ./docker/test_base/Dockerfile image: ota-test_base network_mode: bridge - command: "bash -c 'coverage run -m pytest tests/test_boot_control && coverage xml -o test_result/coverage.xml'" + command: "bash -c 'coverage run -m pytest && coverage xml -o test_result/coverage.xml'" container_name: ota-test volumes: - ../pyproject.toml:/ota-client/pyproject.toml:ro diff --git a/pyproject.toml b/pyproject.toml index 9e1ce3843..b41a23f0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,6 @@ exclude_also = [ "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", ] -show_missing = true skip_covered = true skip_empty = true