Skip to content

Commit df4280c

Browse files
authored
Merge pull request #773 from maresb/fix-ci
Fix new CI failures
2 parents fed224d + 22102e7 commit df4280c

13 files changed

+1608
-875
lines changed

.github/workflows/integration-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
pipx install -e .
5656
- name: run-test
5757
run: |
58-
conda-lock --log-level=DEBUG --mamba -f tests/gdal/environment.yml -p $CONDA_PLATFORM
58+
conda-lock --log-level=DEBUG --micromamba -f tests/gdal/environment.yml -p $CONDA_PLATFORM
5959
conda-lock render -p $CONDA_PLATFORM
6060
conda-lock render -p $CONDA_PLATFORM --kind=env
6161
cat conda-$CONDA_PLATFORM.lock

conda_lock/conda_solver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ def print_proc(proc: subprocess.CompletedProcess) -> None:
387387
try:
388388
dryrun_install: DryRunInstall = json.loads(extract_json_object(proc.stdout))
389389
return _reconstruct_fetch_actions(conda, platform, dryrun_install)
390-
except json.JSONDecodeError:
391-
raise
390+
except json.JSONDecodeError as e:
391+
raise RuntimeError(f"Failed to parse json: '{proc.stdout}'") from e
392392

393393

394394
def update_specs_for_arch(

tests/durations/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ running from GitHub Actions.
66
They should occasionally be replaced so that the split remains optimal.
77
(Tests that are missing from this list will be assigned the average duration.)
88

9+
The JSON files are generated during the pytest runs on GitHub.
10+
They are aggregated in the "Aggregate test durations" job, and available for download as the `aggregated-test-durations` artifact.
11+
912
For more details, see the
1013
[pytest-split documentation](https://jerry-git.github.io/pytest-split/).

tests/durations/macos-py3.12.json

-218
This file was deleted.

tests/durations/macos-py3.13.json

+267
Large diffs are not rendered by default.

tests/durations/macos-py3.9.json

+267
Large diffs are not rendered by default.

tests/durations/ubuntu-py3.12.json

-218
This file was deleted.

tests/durations/ubuntu-py3.13.json

+267
Large diffs are not rendered by default.

tests/durations/ubuntu-py3.8.json

-218
This file was deleted.

tests/durations/ubuntu-py3.9.json

+267
Large diffs are not rendered by default.

tests/durations/windows-py3.12.json

-218
This file was deleted.

tests/durations/windows-py3.13.json

+267
Large diffs are not rendered by default.

tests/durations/windows-py3.9.json

+267
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)