From: Guillaume Abrioux Date: Wed, 16 Dec 2020 10:23:55 +0000 (+0100) Subject: pytest: report missing line numbers X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=80a36f881d7a4fa9f0c0701f9d1dd3df052b98c2;p=ceph-ansible.git pytest: report missing line numbers reporting missing line numbers might help and won't hurt the opposite case. Signed-off-by: Guillaume Abrioux --- diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 509a10163..1ab3460f4 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"