Add skeleton code for CDD Vault tracking #64
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: Run PyTest | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # [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: Set Python to 3.10.10 | |
run: | |
conda install -y python=3.10.10 | |
- 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: Run pytest | |
run: | | |
source activate | |
pip install pytest | |
pytest |