-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 1.44 KB
/
big-structure-run-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Big Structure Tests
on:
push:
branches:
- master
paths:
- '.github/workflows/big-structure-run-tests.yml'
- 'big-structure/**'
pull_request:
paths:
- '.github/workflows/big-structure-run-tests.yml'
- 'big-structure/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout de-stress
uses: actions/checkout@v2
- name: Download dependencies
- run: |
python -m venv headless_destress && source headless_destress/bin/activate && pip install -r requirements.txt
cd dependencies_for_de-stress/
git clone --branch v2024.18-dev62107 https://github.com/RosettaCommons/rosetta.git
echo "Rosetta has been successfully downloaded."
cd ../
docker compose -f headless-compose.yml build
current_dir=$(pwd)
echo "Current dir: $current_dir"
echo "Building DE-STRESS dependencies. Rosetta will take a few hours to compile."
docker run -it --rm -v $current_dir/dependencies_for_de-stress/:/dependencies_for_de-stress de-stress-big-structure:latest sh build_dependencies.sh
- name: Test `big-structure`
run: |
chmod -R 755 dependencies_for_de-stress/
docker run --rm -v $(pwd)/dependencies_for_de-stress/:/dependencies_for_de-stress/ \
--env-file .env \
big-structure \
poetry run pytest -m "not rosetta"