diff --git a/.coveragerc b/.coveragerc index a1bf8c4..9959552 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,10 +2,10 @@ [run] branch = True source = hyo2.ssm2 -omit = - hyo2/ssm2/app/* [report] +omit = */app/* + # Regexes for lines to exclude from consideration exclude_lines = # Have to re-enable the standard pragma diff --git a/.github/workflows/ssm_on_windows.yml b/.github/workflows/ssm_on_windows.yml index f898db7..11c1f55 100644 --- a/.github/workflows/ssm_on_windows.yml +++ b/.github/workflows/ssm_on_windows.yml @@ -35,6 +35,6 @@ jobs: - name: Test with pytest run: | pip install coveralls PyYAML pytest pytest-cov - py.test --cov --cov-config=.coveragerc + py.test --cov-config=.coveragerc --cov coverage report -m - coveralls + coveralls --rcfile=.coveragerc diff --git a/hyo2/ssm2/lib/atlas/rtofs.py b/hyo2/ssm2/lib/atlas/rtofs.py index 9d5a380..dadc0d2 100644 --- a/hyo2/ssm2/lib/atlas/rtofs.py +++ b/hyo2/ssm2/lib/atlas/rtofs.py @@ -104,6 +104,7 @@ def is_present(self) -> bool: return self._has_data_loaded def _clean_rtofs_folder(self, skip_folder: str | None = None) -> None: + # logger.debug("RTOFS folder to clean: %s" % self.data_folder) for item in os.listdir(self.data_folder): full_path = os.path.join(self.data_folder, item)