From 50c985783bb980863c0ed797278d90174bfa27c8 Mon Sep 17 00:00:00 2001 From: cdeline Date: Mon, 30 Sep 2024 12:58:01 -0600 Subject: [PATCH] exclude __init__ in pytest coverage. --- .github/workflows/pytest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 36248555..413b2f8a 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -63,7 +63,7 @@ jobs: uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a # GUI testing requires xvfb with: run: | - pytest --cov=bifacial_radiance + pytest --cov=bifacial_radiance --cov-report=term-missing:bifacial_radiance/__init__.py env: # environment variables available to this step RAYPATH: .:/home/runner/work/bifacial_radiance/bifacial_radiance/radiance-5.3.012cb17835-Linux/usr/local/radiance/lib SMARTSPATH: /home/runner/work/bifacial_radiance/bifacial_radiance/SMARTS_295_Linux