From e80a11d0caeba13e46e22cd95e94a220821b54a0 Mon Sep 17 00:00:00 2001 From: Niko Aarnio <113038549+nmaarnio@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:44:42 +0300 Subject: [PATCH] Enable ubuntu conda test (#429) * ci: enable conda tests * ci: attempt fixing Windows test, enable Mac test * ci: only enable conda ubuntu test for now --- .github/workflows/conda.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 16e64ae1..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"] + platform: ["ubuntu-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 @@ -39,3 +42,4 @@ jobs: python -c 'import eis_toolkit' # Run unittests with pytest pytest -v + \ No newline at end of file