From 80a36f881d7a4fa9f0c0701f9d1dd3df052b98c2 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 16 Dec 2020 11:23:55 +0100 Subject: [PATCH] pytest: report missing line numbers reporting missing line numbers might help and won't hurt the opposite case. Signed-off-by: Guillaume Abrioux --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 509a10163f..1ab3460f40 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -23,6 +23,6 @@ jobs: python-version: ${{ matrix.python-version }} architecture: x64 - run: pip install -r tests/requirements.txt - - run: pytest --cov=library/ --cov=module_utils/ --cov=plugins/filter/ -vvvv tests/library/ tests/module_utils/ tests/plugins/filter/ + - run: pytest --cov=library/ --cov=module_utils/ --cov=plugins/filter/ --cov-report term-missing -vvvv tests/library/ tests/module_utils/ tests/plugins/filter/ env: PYTHONPATH: "$PYTHONPATH:/home/runner/work/ceph-ansible/ceph-ansible/library:/home/runner/work/ceph-ansible/ceph-ansible/module_utils:/home/runner/work/ceph-ansible/ceph-ansible/plugins/filter:/home/runner/work/ceph-ansible/ceph-ansible"