diff --git a/.github/workflows/unittest-openmpi-11.yml b/.github/workflows/unittest-openmpi-11.yml new file mode 100644 index 00000000..af040057 --- /dev/null +++ b/.github/workflows/unittest-openmpi-11.yml @@ -0,0 +1,45 @@ +# This workflow is used to run the unittest of pyiron + +name: Unittests-openmpi + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + include: + - operating-system: macos-11 + python-version: '3.11' + label: osx-11-64-py-3-11-openmpi + prefix: /Users/runner/miniconda3/envs/my-env + + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2.2.0 + with: + python-version: ${{ matrix.python-version }} + 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: 5 + 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-openmpi-12.yml b/.github/workflows/unittest-openmpi-12.yml new file mode 100644 index 00000000..33feb222 --- /dev/null +++ b/.github/workflows/unittest-openmpi-12.yml @@ -0,0 +1,44 @@ +# This workflow is used to run the unittest of pyiron + +name: Unittests-openmpi + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + include: + - operating-system: macos-12 + python-version: '3.11' + label: osx-12-64-py-3-11-openmpi + prefix: /Users/runner/miniconda3/envs/my-env + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2.2.0 + with: + python-version: ${{ matrix.python-version }} + 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: 5 + 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-openmpi-13.yml b/.github/workflows/unittest-openmpi-13.yml new file mode 100644 index 00000000..00d675c6 --- /dev/null +++ b/.github/workflows/unittest-openmpi-13.yml @@ -0,0 +1,45 @@ +# This workflow is used to run the unittest of pyiron + +name: Unittests-openmpi + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + include: + - operating-system: macos-13 + python-version: '3.11' + label: osx-13-64-py-3-11-openmpi + prefix: /Users/runner/miniconda3/envs/my-env + + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2.2.0 + with: + python-version: ${{ matrix.python-version }} + 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: 5 + 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-openmpi.yml b/.github/workflows/unittest-openmpi-latest.yml similarity index 70% rename from .github/workflows/unittest-openmpi.yml rename to .github/workflows/unittest-openmpi-latest.yml index 5a145cc7..a9d81c58 100644 --- a/.github/workflows/unittest-openmpi.yml +++ b/.github/workflows/unittest-openmpi-latest.yml @@ -20,24 +20,6 @@ jobs: label: osx-latest-64-py-3-11-openmpi prefix: /Users/runner/miniconda3/envs/my-env - - - operating-system: macos-11 - python-version: '3.11' - label: osx-11-64-py-3-11-openmpi - prefix: /Users/runner/miniconda3/envs/my-env - - - - operating-system: macos-12 - python-version: '3.11' - label: osx-12-64-py-3-11-openmpi - prefix: /Users/runner/miniconda3/envs/my-env - - - - operating-system: macos-13 - python-version: '3.11' - label: osx-13-64-py-3-11-openmpi - prefix: /Users/runner/miniconda3/envs/my-env - steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2.2.0