From 0bc20b89228fa23c67ac7de2557cf593bc142248 Mon Sep 17 00:00:00 2001 From: Niko Aarnio Date: Tue, 17 Sep 2024 12:44:33 +0300 Subject: [PATCH 1/3] ci: enable conda tests --- .github/workflows/conda.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 16e64ae1..9caef3dd 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -39,3 +39,4 @@ jobs: python -c 'import eis_toolkit' # Run unittests with pytest pytest -v + \ No newline at end of file From ff6772129aef4cde5b7cf7490cb27ca86cb3858e Mon Sep 17 00:00:00 2001 From: Niko Aarnio Date: Tue, 17 Sep 2024 13:12:59 +0300 Subject: [PATCH 2/3] ci: attempt fixing Windows test, enable Mac test --- .github/workflows/conda.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 9caef3dd..43c36220 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: python-version: ["3.9"] - platform: ["ubuntu-latest", "windows-latest"] + platform: ["ubuntu-latest", "windows-latest", "macos-latest"] runs-on: ${{ matrix.platform }} defaults: @@ -27,6 +27,9 @@ jobs: auto-activate-base: false mamba-version: "*" channel-priority: true + - name: Set GDAL environment variable for Windows + if: runner.os == 'Windows' + run: echo "USE_PATH_FOR_GDAL_PYTHON=YES" >> $GITHUB_ENV - name: Print conda environment run: | # Print environment From 424f7355a0be593877a8f696cace87457f2c5c05 Mon Sep 17 00:00:00 2001 From: Niko Aarnio Date: Tue, 17 Sep 2024 13:36:43 +0300 Subject: [PATCH 3/3] ci: only enable conda ubuntu test for now --- .github/workflows/conda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 43c36220..59fded03 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: python-version: ["3.9"] - platform: ["ubuntu-latest", "windows-latest", "macos-latest"] + platform: ["ubuntu-latest"] runs-on: ${{ matrix.platform }} defaults: