From 43cf048b3ef3ee7393139a92b6e3aca91ea9497b Mon Sep 17 00:00:00 2001 From: Trecia Agoylo Date: Tue, 22 Oct 2024 10:20:06 +0800 Subject: [PATCH] ci: add coverage flag Signed-off-by: Trecia Agoylo --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 120c3dfe1..87232bab3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Test without optional dependencies run: | pip uninstall -y paramiko - pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod' + pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod' - name: Report coverage if: (github.event_name != 'pull_request') && (matrix.python-version == 3.6)