Skip to content

Create place_a_dockerfile_in_current_eos_repo.py #407

Create place_a_dockerfile_in_current_eos_repo.py

Create place_a_dockerfile_in_current_eos_repo.py #407

Workflow file for this run

name: Deploy and test ersilia on PR
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # [email protected]
- name: Add conda to system path
run: echo $CONDA/bin >> $GITHUB_PATH
- name: Source conda
run: source $CONDA/etc/profile.d/conda.sh
- name: Install dependencies
run: |
source activate
conda init
conda install git-lfs -c conda-forge
git-lfs install
conda install gh -c conda-forge
- name: Install ersilia
run: |
source activate
python --version
echo "After conda init"
conda init
python -m pip install -e .[test]
- name: Deploy models
run: |
source activate
ersilia fetch molecular-weight
echo "Serving molecular-weight model."
ersilia serve molecular-weight
ersilia api calculate -i "CC(=O)OC1=CC=CC=C1C(=O)O" | grep "180.15899"