diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d0f823aac..8d5d41982 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,7 +29,7 @@ jobs: - "3.13" os: - ubuntu-latest - - windows-latest + - windows-2025 - macos-latest steps: - uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: if: runner.os == 'Windows' shell: bash env: - TMPDIR: 'D:\\a\\_temp' + TMPDIR: 'C:\\a\\_temp' run: uv run pytest tests - name: Test if: runner.os != 'Windows' diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ada31eb9..dd84794f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ media type value for these types and new media types COPC and VND_PMTILES ([#1554](https://github.com/stac-utils/pystac/pull/1554)) +### Changed + +- Update drive used by windows runners during tests + ### Fixed - More permissive collection extent deserialization ([#1559](https://github.com/stac-utils/pystac/pull/1559)) diff --git a/tests/test_layout.py b/tests/test_layout.py index b92d9dee7..84765a6c1 100644 --- a/tests/test_layout.py +++ b/tests/test_layout.py @@ -405,7 +405,7 @@ class TestAsIsLayoutStrategy: def test_catalog(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) cat = pystac.Catalog(id="test", description="test desc") with pytest.raises(ValueError): @@ -417,7 +417,7 @@ def test_catalog(self) -> None: def test_collection(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) collection = TestCases.case_8() collection.set_self_href(None) @@ -432,7 +432,7 @@ def test_collection(self) -> None: def test_item(self) -> None: strategy = AsIsLayoutStrategy() expected_local_href = ( - "/an/href" if not path_includes_drive_letter() else "D:/an/href" + "/an/href" if not path_includes_drive_letter() else "C:/an/href" ) collection = TestCases.case_8() item = next(collection.get_items(recursive=True))