Skip to content

Commit 3aeb7e9

Browse files
committed
clean up warnings and errors in windows builds
1 parent 8f9d909 commit 3aeb7e9

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/conda-package-cf.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,13 @@ jobs:
182182

183183
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
184184
with:
185+
miniforge-variant: Miniforge3
185186
miniforge-version: latest
186-
activate-environment: build
187-
python-version: ${{ matrix.python }}
187+
auto-activate: true
188+
activate-environment: base
188189
channels: conda-forge
189-
conda-remove-defaults: 'true'
190+
conda-remove-defaults: true
191+
python-version: ${{ matrix.python }}
190192

191193
- name: Install conda-build
192194
run: conda install -n base conda-build
@@ -246,10 +248,10 @@ jobs:
246248
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
247249
with:
248250
miniforge-version: latest
249-
activate-environment: ${{ env.TEST_ENV_NAME }}
250-
python-version: ${{ matrix.python_ver }}
251251
channels: conda-forge
252-
conda-remove-defaults: 'true'
252+
conda-remove-defaults: true
253+
activate-environment: ${{ env.TEST_ENV_NAME }}
254+
python-version: ${{ matrix.python }}
253255

254256
- name: Create conda channel with the artifact bit
255257
shell: cmd /C CALL {0}

.github/workflows/conda-package.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ jobs:
171171

172172
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
173173
with:
174+
miniforge-variant: Miniforge3
174175
miniforge-version: latest
175-
activate-environment: build
176-
python-version: ${{ matrix.python }}
176+
auto-activate: true
177+
activate-environment: base
177178
channels: conda-forge
178-
conda-remove-defaults: 'true'
179+
conda-remove-defaults: true
180+
python-version: ${{ matrix.python }}
179181

180182
- name: Install conda-build
181183
run: |
@@ -236,10 +238,10 @@ jobs:
236238
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
237239
with:
238240
miniforge-version: latest
241+
channels: conda-forge
242+
conda-remove-defaults: true
239243
activate-environment: ${{ env.TEST_ENV_NAME }}
240244
python-version: ${{ matrix.python }}
241-
channels: conda-forge
242-
conda-remove-defaults: 'true'
243245

244246
- name: Create conda channel with the artifact bit
245247
shell: cmd /C CALL {0}

0 commit comments

Comments
 (0)