Skip to content

Commit

Permalink
Merge pull request #226 from pyiron/old_tests
Browse files Browse the repository at this point in the history
Test lower limits of dependencies
  • Loading branch information
jan-janssen authored Nov 26, 2023
2 parents 60dfae0 + c7f3c64 commit 0c6a536
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .ci_support/environment-old.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
channels:
- conda-forge
dependencies:
- python
- numpy
- openmpi =4.1.4
- cloudpickle =2.0.0
- mpi4py =3.1.4
- tqdm =4.44.0
- pyzmq =25.0.0
36 changes: 36 additions & 0 deletions .github/workflows/unittests-old.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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/[email protected]
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: Setup
shell: bash -l {0}
run: pip install --no-deps .
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: 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'

0 comments on commit 0c6a536

Please sign in to comment.