From ed9b78b3ff458b8722c4b190126f01c68bb38960 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 26 Apr 2024 19:05:51 +0200 Subject: [PATCH] fix mpi? --- .github/workflows/miniconda.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/miniconda.yml b/.github/workflows/miniconda.yml index df053bcad..d977ae0a8 100644 --- a/.github/workflows/miniconda.yml +++ b/.github/workflows/miniconda.yml @@ -19,6 +19,9 @@ jobs: - os: macos-latest platform: x32 fail-fast: false + defaults: + run: + shell: bash -l {0} steps: - uses: actions/checkout@v4 @@ -36,13 +39,11 @@ jobs: --channel conda-forge - name: Install netcdf4-python - shell: bash -l {0} run: | export PATH="${CONDA_PREFIX}/bin:${CONDA_PREFIX}/Library/bin:$PATH" # so setup.py finds nc-config python -m pip install -v -e . --no-deps --force-reinstall - name: Tests - shell: bash -l {0} run: | cd test && python run_all.py @@ -53,6 +54,10 @@ jobs: python-version: [ "3.11" ] os: [ubuntu-latest] platform: [x64] + defaults: + run: + shell: bash -l {0} + steps: - uses: actions/checkout@v4 with: @@ -69,14 +74,12 @@ jobs: --channel conda-forge - name: Install netcdf4-python with mpi - shell: bash -l {0} run: | export PATH="${CONDA_PREFIX}/bin:${CONDA_PREFIX}/Library/bin:$PATH" # so setup.py finds nc-config nc-config --all python -m pip install -v -e . --no-build-isolation --no-deps --force-reinstall - name: Tests - shell: bash -l {0} run: | cd test && python run_all.py cd ../examples