Skip to content

Commit d11f05d

Browse files
authored
Merge pull request #1129 from slivingston/ci-add-defaults-miniforge
CI: explicitly include defaults channel
2 parents 061749d + 6c628f0 commit d11f05d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/scripts/set-conda-test-matrix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""Create test matrix for conda packages in OS/BLAS test matrix workflow."""
22

3+
import json
34
from pathlib import Path
5+
import re
46

57
osmap = {'linux': 'ubuntu',
68
'osx': 'macos',

.github/workflows/os-blas-test-matrix.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
activate-environment: build-env
127127
environment-file: .github/conda-env/build-env.yml
128128
miniforge-version: latest
129+
channels: conda-forge,defaults
129130
channel-priority: strict
130131
auto-update-conda: false
131132
auto-activate-base: false
@@ -170,7 +171,10 @@ jobs:
170171
name: slycot-wheels
171172
path: slycot-wheels
172173
- id: set-matrix
173-
run: echo "matrix=$(python3 .github/scripts/set-pip-test-matrix.py)" >> $GITHUB_OUTPUT
174+
run: |
175+
TEMPFILE="$(mktemp)"
176+
python3 .github/scripts/set-pip-test-matrix.py | tee $TEMPFILE
177+
echo "matrix=$(cat $TEMPFILE)" >> $GITHUB_OUTPUT
174178
175179
176180
create-conda-test-matrix:
@@ -194,7 +198,10 @@ jobs:
194198
name: slycot-conda-pkgs
195199
path: slycot-conda-pkgs
196200
- id: set-matrix
197-
run: echo "matrix=$(python3 .github/scripts/set-conda-test-matrix.py)" >> $GITHUB_OUTPUT
201+
run: |
202+
TEMPFILE="$(mktemp)"
203+
python3 .github/scripts/set-conda-test-matrix.py | tee $TEMPFILE
204+
echo "matrix=$(cat $TEMPFILE)" >> $GITHUB_OUTPUT
198205
199206
200207
test-wheel:
@@ -297,6 +304,7 @@ jobs:
297304
miniforge-version: latest
298305
activate-environment: test-env
299306
environment-file: .github/conda-env/test-env.yml
307+
channels: conda-forge,defaults
300308
channel-priority: strict
301309
auto-activate-base: false
302310
- name: Download conda packages

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy