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

Fix #112 #113

Merged
merged 30 commits into from
Jan 15, 2023
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
Prev Previous commit
Next Next commit
Update test_options.yml
  • Loading branch information
jonashaag authored Jan 13, 2023
commit 513861e22d70bed861b4759bdf661bcb736e1185
18 changes: 8 additions & 10 deletions .github/workflows/test_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,15 @@ jobs:
- name: check channels are correct
run: |
CHANNEL_OPT=$(micromamba config get channels)
echo $CHANNEL_OPT
if [[ "$CHANNEL_OPT" != *"conda-forge"* ]]; then
exit 1;
echo "$CHANNEL_OPT"
[[ "$CHANNEL_OPT" =~ conda-forge ]]
if [[ "${{ matrix.channels }}" =~ blah ]]; then
[[ "$CHANNEL_OPT" =~ blah ]]
fi
if [[ "$CHANNEL_OPT" != *"blah"* ]]; then
exit 1;
fi
if [[ "${{ matrix.environment-file }}" != "false" ]]; then
if [[ "$CHANNEL_OPT" != *"defaults"* ]]; then
exit 1;
fi
if [[ "${{ matrix.environment-file }}" = "false" ]]; then
! [[ "$CHANNEL_OPT" =~ defaults ]]
else
[[ "$CHANNEL_OPTS" =~ defaults ]]
fi

test_environment_without_name:
Expand Down