Skip to content

Commit

Permalink
Bring back Windows tests (IAMconsortium#375)
Browse files Browse the repository at this point in the history
* Bring back Windows tests

* Use windows-latest in GitHub action

* Change back to windows (without '-latest')

* Change venv caching for Windows
  • Loading branch information
phackstock authored Sep 16, 2024
1 parent 7114796 commit 367e10c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
shell: bash
strategy:
matrix:
os: ["macos", "ubuntu"]
os: ["macos", "ubuntu", "windows"]
# keep consistent with py-version badge in README.md and docs/index.rst
python-version: ["3.10", "3.11", "3.12"]
fail-fast: false
Expand Down Expand Up @@ -44,10 +44,10 @@ jobs:
# load cached venv if cache exists
#----------------------------------------------
- name: Load cached venv
id: cached-poetry-dependencies
id: cached-pip-wheels
uses: actions/cache@v4
with:
path: .venv
path: ~/.cache
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down

0 comments on commit 367e10c

Please sign in to comment.