Skip to content

Commit c049e54

Browse files
authored
Add scipion-chem
1 parent 6b99361 commit c049e54

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ jobs:
3535
pip install --user scipion-installer
3636
python3 -m scipioninstaller -conda -noXmipp -noAsk scipion
3737
38+
# Installing scipion-chem
39+
# Checkout to Pull Request branch if exists, by default stays in devel
40+
- name: Install scipion-chem (in branch ${{ github.head_ref }} if exists)
41+
working-directory: ${{ github.workspace }}/../
42+
env:
43+
REPO_NAME: scipion-chem
44+
BRANCH_NAME: ${{ github.head_ref }}
45+
run: |
46+
git clone https://github.com/scipion-chem/$REPO_NAME.git
47+
if [ $(git ls-remote --heads https://github.com/scipion-chem/$REPO_NAME.git $BRANCH_NAME | wc -l) -eq 1 ]; then
48+
cd $REPO_NAME && git checkout $BRANCH_NAME && cd -
49+
fi
50+
scipion/scipion3 installp -p $REPO_NAME --devel
51+
3852
- name: Checkout repository
3953
uses: actions/checkout@main
4054
with:

0 commit comments

Comments
 (0)