Merge branch 'devel' into feature_mdr #123
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
name: Sandpit_exs_CI | |
on: | |
# run once a day at noon UTC | |
schedule: | |
- cron: "0 12 * * *" | |
push: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macOS-latest",] | |
python-version: ["3.8", ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
activate-environment: bss_build | |
miniforge-version: latest | |
miniforge-variant: Mambaforge | |
use-mamba: true | |
- name: Install dependency | |
run: | | |
mamba install -c conda-forge -c openbiosim/label/main biosimspace python=3.8 ambertools gromacs "sire=2023.2.2" alchemlyb pytest pyarrow "typing-extensions!=4.6.0" openff-interchange pint=0.21 "rdkit<2023" "jaxlib>0.3.7" tqdm scikit-learn | |
python -m pip install git+https://github.com/Exscientia/MDRestraintsGenerator.git | |
# For the testing of BSS.FreeEnergy.AlchemicalFreeEnergy.analysis | |
python -m pip install https://github.com/alchemistry/alchemtest/archive/master.zip | |
# Before the new alchemlyb is released | |
python -m pip install git+https://github.com/alchemistry/alchemlyb.git | |
- name: Install the dev version | |
run: | | |
conda remove --force biosimspace | |
cd python | |
python setup.py develop | |
cd .. | |
- name: Run tests | |
run: | | |
pytest -v --color=yes tests/Sandpit/Exscientia/ |