From 54be6313e302a0c1ce651e243bd2c208e6f38ac4 Mon Sep 17 00:00:00 2001 From: Daniel McDonald Date: Wed, 29 May 2024 15:19:52 -0700 Subject: [PATCH] windows is picky --- .github/workflows/python-package-conda.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 0194208..c7e0972 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -69,6 +69,12 @@ jobs: miniforge-version: ${{ env.miniforge_version }} miniforge-variant: ${{ env.miniforge_variant }} environment-file: ci/conda_host_env.yml + - name: Setup for Windows + if: ${{ matrix.os == 'windows-latest' }} + run: | + # Set bash executable explicitly since Make may pick wrong shell + # borrowed from https://github.com/drivendataorg/cookiecutter-data-science/pull/319/files + echo "BASH_EXECUTABLE=$(which bash)" >> "$GITHUB_ENV" - name: Install dependencies (conda) if: ${{ matrix.use_conda }} shell: bash -l {0}