Use mpiexec only for parallel execution #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is used to run the unittest of pyiron | |
name: Unittest Lower Bound | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2.2.0 | |
with: | |
python-version: '3.9' | |
mamba-version: "*" | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
channel-priority: strict | |
auto-update-conda: true | |
environment-file: .ci_support/environment-old.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' |