Skip to content

Commit e9a2eb7

Browse files
authored
Fix in windows unit test (#1099)
1 parent 7e41517 commit e9a2eb7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.circleci/unittest/windows_optdepts/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ dependencies:
1616
- pyyaml
1717
- scipy
1818
- coverage
19+
- msvc-runtime

.circleci/unittest/windows_optdepts/scripts/setup_env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ if [ ! -d "${conda_dir}" ]; then
2626
fi
2727

2828
eval "$(${conda_dir}/Scripts/conda.exe 'shell.bash' 'hook')"
29+
conda config --set channel_priority strict
30+
conda update -n base -c defaults conda
2931

3032
# 2. Create test environment at ./env
3133
if [ ! -d "${env_dir}" ]; then

0 commit comments

Comments
 (0)