]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
pytest: report missing line numbers
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 16 Dec 2020 10:23:55 +0000 (11:23 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Jul 2022 01:38:35 +0000 (03:38 +0200)
reporting missing line numbers might help and won't hurt the opposite
case.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
.github/workflows/pytest.yml

index 509a10163f6743ec6af5e9456c5a2caa7e518fe4..1ab3460f403e9496dac8b25d287e2bd10f166be9 100644 (file)
@@ -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"