Skip to content

Commit ed9b78b

Browse files
committed
fix mpi?
1 parent cc67592 commit ed9b78b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/miniconda.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- os: macos-latest
2020
platform: x32
2121
fail-fast: false
22+
defaults:
23+
run:
24+
shell: bash -l {0}
2225

2326
steps:
2427
- uses: actions/checkout@v4
@@ -36,13 +39,11 @@ jobs:
3639
--channel conda-forge
3740
3841
- name: Install netcdf4-python
39-
shell: bash -l {0}
4042
run: |
4143
export PATH="${CONDA_PREFIX}/bin:${CONDA_PREFIX}/Library/bin:$PATH" # so setup.py finds nc-config
4244
python -m pip install -v -e . --no-deps --force-reinstall
4345
4446
- name: Tests
45-
shell: bash -l {0}
4647
run: |
4748
cd test && python run_all.py
4849
@@ -53,6 +54,10 @@ jobs:
5354
python-version: [ "3.11" ]
5455
os: [ubuntu-latest]
5556
platform: [x64]
57+
defaults:
58+
run:
59+
shell: bash -l {0}
60+
5661
steps:
5762
- uses: actions/checkout@v4
5863
with:
@@ -69,14 +74,12 @@ jobs:
6974
--channel conda-forge
7075
7176
- name: Install netcdf4-python with mpi
72-
shell: bash -l {0}
7377
run: |
7478
export PATH="${CONDA_PREFIX}/bin:${CONDA_PREFIX}/Library/bin:$PATH" # so setup.py finds nc-config
7579
nc-config --all
7680
python -m pip install -v -e . --no-build-isolation --no-deps --force-reinstall
7781
7882
- name: Tests
79-
shell: bash -l {0}
8083
run: |
8184
cd test && python run_all.py
8285
cd ../examples

0 commit comments

Comments
 (0)