From 40f25b1709d98aabbcc48d04da1968921ef56f96 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:48:40 +0100 Subject: [PATCH 1/2] Test lower limits of dependencies --- .ci_support/environment-old.yml | 10 +++++++++ .github/workflows/unittests-old.yml | 32 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .ci_support/environment-old.yml create mode 100644 .github/workflows/unittests-old.yml diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml new file mode 100644 index 00000000..a2fc3f49 --- /dev/null +++ b/.ci_support/environment-old.yml @@ -0,0 +1,10 @@ +channels: + - conda-forge +dependencies: + - lammps =2022.06.23 + - openmpi + - numpy =1.23.5 + - mpi4py =3.1.4 + - pympipool =0.7.0 + - ase =3.20.1 + - scipy =1.9.3 diff --git a/.github/workflows/unittests-old.yml b/.github/workflows/unittests-old.yml new file mode 100644 index 00000000..cced130d --- /dev/null +++ b/.github/workflows/unittests-old.yml @@ -0,0 +1,32 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: OpenMPI + +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 + with: + python-version: '3.9' + miniforge-variant: Mambaforge + channels: conda-forge + channel-priority: strict + use-mamba: 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: python -m unittest discover tests From ba3b43c51d7df5dc8c762144c8a05abd2fe19394 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 09:50:04 +0100 Subject: [PATCH 2/2] Rename lower bound unit tests --- .github/workflows/unittests-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittests-old.yml b/.github/workflows/unittests-old.yml index cced130d..aec33506 100644 --- a/.github/workflows/unittests-old.yml +++ b/.github/workflows/unittests-old.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: OpenMPI +name: Unittest Lower Bound on: push: