diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8d0ecd..aefaec2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.10", "3.11", "3.12", "3.13"] steps: diff --git a/gridmet_bmi/bmi_gridmet.py b/gridmet_bmi/bmi_gridmet.py index c30324f..1980c63 100644 --- a/gridmet_bmi/bmi_gridmet.py +++ b/gridmet_bmi/bmi_gridmet.py @@ -40,7 +40,10 @@ def finalize(self) -> None: printing reports. """ self._day = 0 - self._model.clear_cache() + try: + self._model.clear_cache() + except PermissionError as error: + print(error) def get_component_name(self) -> str: """Name of the component.