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
1 change: 1 addition & 0 deletions .github/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ donttest="$donttest or test_default_deprecation"
pytest control/tests \
--cov=$slycot_libdir \
--cov-config=${slycot_srcdir}/.coveragerc \
--ignore=control/tests/docstrings_test.py \
-k "not ($donttest)"
mv .coverage ${slycot_srcdir}/.coverage.control
popd
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/slycot-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ jobs:
environment-file: .github/conda-env/build-env.yml
miniforge-version: latest
channel-priority: strict
channels: conda-forge,defaults
auto-update-conda: false
auto-activate-base: false
- name: Conda build
Expand Down Expand Up @@ -221,7 +222,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:
name: Create conda test matrix
Expand All @@ -244,7 +248,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 @@ -356,6 +363,7 @@ jobs:
miniforge-version: latest
activate-environment: test-env
environment-file: slycot-src/.github/conda-env/test-env.yml
channels: conda-forge,defaults
channel-priority: strict
auto-activate-base: false
- name: Download conda packages
Expand Down