diff --git a/.github/workflows/check-macos-latest.yml b/.github/workflows/check-macos-latest.yml new file mode 100644 index 00000000..dc28c9d4 --- /dev/null +++ b/.github/workflows/check-macos-latest.yml @@ -0,0 +1,35 @@ +# We are waiting on the macos-latest image to play nicely with MPI + +name: Is-macos-latest-working-yet + +on: + schedule: + - cron: '0 23 * * 2' + workflow_dispatch: + +jobs: + openmpi-on-macos-latest: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2.2.0 + with: + python-version: "3.11" + mamba-version: "*" + channels: conda-forge + miniforge-variant: Mambaforge + channel-priority: strict + auto-update-conda: true + environment-file: .ci_support/environment-openmpi.yml + - name: Test + shell: bash -l {0} + timeout-minutes: 10 + run: | + pip install versioneer[toml]==0.29 + pip install . --no-deps --no-build-isolation + cd tests + python -m unittest discover . + env: + OMPI_MCA_plm: 'isolated' + OMPI_MCA_rmaps_base_oversubscribe: 'yes' + OMPI_MCA_btl_vader_single_copy_mechanism: 'none' diff --git a/.github/workflows/unittest-mpich.yml b/.github/workflows/unittest-mpich.yml index d3731c4d..a9049d17 100644 --- a/.github/workflows/unittest-mpich.yml +++ b/.github/workflows/unittest-mpich.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: include: - - operating-system: macos-latest + - operating-system: macos-11 python-version: '3.11' label: osx-64-py-3-11-mpich prefix: /Users/runner/miniconda3/envs/my-env diff --git a/.github/workflows/unittest-openmpi.yml b/.github/workflows/unittest-openmpi.yml index d375e9ca..7f37d0e7 100644 --- a/.github/workflows/unittest-openmpi.yml +++ b/.github/workflows/unittest-openmpi.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: include: - - operating-system: macos-latest + - operating-system: macos-11 python-version: '3.11' label: osx-64-py-3-11-openmpi prefix: /Users/runner/miniconda3/envs/my-env