Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update workflow to pass jobname to python-control pytest #190

Merged
merged 3 commits into from
Dec 29, 2022
Merged
Changes from 1 commit
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
8 changes: 6 additions & 2 deletions .github/workflows/slycot-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ jobs:
pip install slycot-wheels/${{ matrix.packagekey }}/slycot*.whl
pip show slycot
- name: Slycot and python-control tests
run: bash slycot-src/.github/scripts/run-tests.sh
run: JOBNAME=$JOBNAME bash slycot-src/.github/scripts/run-tests.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am surprised that this works without quotes around $JOBNAME as there is a space in the value.

env:
JOBNAME: ${{ matrix.packagekey }} ${{ matrix.blas_lib }}
- name: report coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -359,7 +361,9 @@ jobs:
mamba install -c ./slycot-conda-pkgs slycot
conda list
- name: Slycot and python-control tests
run: bash slycot-src/.github/scripts/run-tests.sh
run: JOBNAME=$JOBNAME bash slycot-src/.github/scripts/run-tests.sh
env:
JOBNAME: ${{ matrix.packagekey }} ${{ matrix.blas_lib }}
- name: Report coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down