Skip to content

Commit 959318b

Browse files
committed
1 parent 9b867fd commit 959318b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ jobs:
6767
if [[ ${{ matrix.os }} == windows* ]] ;
6868
then
6969
echo "CONDA_ENV_FILE=ci/requirements/environment-windows.yml" >> $GITHUB_ENV
70-
elif [[ ${{ matrix.env }} == "py39-flaky" ]] ;
70+
elif [ -n ${{ matrix.env }} ] ;
71+
then
72+
if [[ ${{ matrix.env }} == "py39-flaky" ]] ;
7173
then
7274
echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
7375
echo "PYTEST_EXTRA_FLAGS=--run-flaky --run-network-tests" >> $GITHUB_ENV
74-
elif [ -n ${{ matrix.env }} ] ;
7576
echo "CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml" >> $GITHUB_ENV
7677
else
7778
echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV

0 commit comments

Comments
 (0)