diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml new file mode 100644 index 000000000..2ba8f506c --- /dev/null +++ b/.ci_support/environment-old.yml @@ -0,0 +1,17 @@ +channels: +- conda-forge +dependencies: +- aimsgb =1.0.2 +- ase =3.20.1 +- matplotlib-base =3.5.3 +- nglview =2.7.7 +- numpy =1.23.5 +- phonopy =2.16.2 +- plotly =4.14.3 +- pymatgen =2022.2.1 +- pyscal =2.10.4 +- pyxtal =0.5.5 +- scikit-learn =1.2.1 +- scipy =1.9.3 +- spglib =1.16.5 +- sqsgenerator =0.2 diff --git a/.github/workflows/unittests_old.yml b/.github/workflows/unittests_old.yml new file mode 100644 index 000000000..c11206e69 --- /dev/null +++ b/.github/workflows/unittests_old.yml @@ -0,0 +1,34 @@ +# 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 + - name: Setup Mambaforge + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: '3.9' + miniforge-variant: Mambaforge + channels: conda-forge + channel-priority: strict + activate-environment: my-env + use-mamba: true + - name: Update environment + run: mamba env update -n my-env -f .ci_support/environment-old.yml + - name: Setup + shell: bash -l {0} + run: pip install --no-deps . + - name: Test + shell: bash -l {0} + timeout-minutes: 30 + run: python -m unittest discover tests