Skip to content

Commit

Permalink
Merge pull request #241 from pyiron/test_macos11
Browse files Browse the repository at this point in the history
Test on older version of OSX
  • Loading branch information
jan-janssen authored Dec 8, 2023
2 parents f750ed9 + cbc2c23 commit 0d54d56
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/check-macos-latest.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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'
2 changes: 1 addition & 1 deletion .github/workflows/unittest-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d54d56

Please sign in to comment.