Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/scripts/set-conda-test-matrix.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""Create test matrix for conda packages in OS/BLAS test matrix workflow."""

import json
from pathlib import Path
import re

osmap = {'linux': 'ubuntu',
'osx': 'macos',
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/os-blas-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
activate-environment: build-env
environment-file: .github/conda-env/build-env.yml
miniforge-version: latest
channels: conda-forge,defaults
channel-priority: strict
auto-update-conda: false
auto-activate-base: false
Expand Down Expand Up @@ -170,7 +171,10 @@ jobs:
name: slycot-wheels
path: slycot-wheels
- id: set-matrix
run: echo "matrix=$(python3 .github/scripts/set-pip-test-matrix.py)" >> $GITHUB_OUTPUT
run: |
TEMPFILE="$(mktemp)"
python3 .github/scripts/set-pip-test-matrix.py | tee $TEMPFILE
echo "matrix=$(cat $TEMPFILE)" >> $GITHUB_OUTPUT


create-conda-test-matrix:
Expand All @@ -194,7 +198,10 @@ jobs:
name: slycot-conda-pkgs
path: slycot-conda-pkgs
- id: set-matrix
run: echo "matrix=$(python3 .github/scripts/set-conda-test-matrix.py)" >> $GITHUB_OUTPUT
run: |
TEMPFILE="$(mktemp)"
python3 .github/scripts/set-conda-test-matrix.py | tee $TEMPFILE
echo "matrix=$(cat $TEMPFILE)" >> $GITHUB_OUTPUT


test-wheel:
Expand Down Expand Up @@ -297,6 +304,7 @@ jobs:
miniforge-version: latest
activate-environment: test-env
environment-file: .github/conda-env/test-env.yml
channels: conda-forge,defaults
channel-priority: strict
auto-activate-base: false
- name: Download conda packages
Expand Down