Skip to content

Commit 3306dd7

Browse files
committed
Testing: Fix issues with conda env tests on Windows
1 parent 9fa5007 commit 3306dd7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ if [ "$USE_CONDA" = "true" ]; then
1919

2020
# Install dependencies per operating system
2121
if [ "$OS" = "win" ]; then
22+
# This is necessary for our tests related to conda envs to pass since
23+
# the release of Mamba 1.1.0
24+
mamba init
2225
mamba env update --file requirements/windows.yml
2326
elif [ "$OS" = "macos" ]; then
2427
mamba env update --file requirements/macos.yml

.github/workflows/test-win.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ jobs:
110110
run: |
111111
conda info
112112
conda list
113+
# Notes:
114+
# 1. This only works for conda, probably because it has the necessary
115+
# MSYS2 packages to create the connection.
116+
# 2. Check https://github.com/marketplace/actions/debugging-with-tmate for
117+
# usage.
118+
#- name: Setup remote ssh connection
119+
# if: env.USE_CONDA == 'true'
120+
# uses: mxschmitt/action-tmate@v3
113121
- name: Run manifest checks
114122
if: env.RUN_BUILD == 'true'
115123
shell: bash -l {0}

0 commit comments

Comments
 (0)