Skip to content

Commit 872406c

Browse files
committed
update
1 parent 7542f6e commit 872406c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/testing.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
pull_request:
88

9+
defaults:
10+
shell: bash
11+
912
jobs:
1013

1114
pytest:
@@ -40,11 +43,13 @@ jobs:
4043
if: ${{ runner.os != 'Windows' }}
4144
run: |
4245
bash .github/workflows/metis.sh
46+
echo WITH_METIS=1 >> $GITHUB_ENV
4347
4448
- name: Install METIS on Windows
4549
if: ${{ runner.os == 'Windows' }}
4650
run: |
4751
bash .github/workflows/metis-${{ runner.os }}.sh
52+
echo WITH_METIS=0 >> $GITHUB_ENV
4853
4954
- name: Install scipy
5055
if: ${{ matrix.python-version == '3.9' }}
@@ -55,7 +60,7 @@ jobs:
5560
run: |
5661
python setup.py develop
5762
env:
58-
WITH_METIS: 1
63+
WITH_METIS: ${{ env.WITH_METIS }}
5964

6065
- name: Run test-suite
6166
run: |

0 commit comments

Comments
 (0)