Skip to content

Commit

Permalink
Changing big-structure tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelJamesStam committed Jun 10, 2024
1 parent f81c6b5 commit 4181795
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/big-structure-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,25 @@ jobs:
- name: Checkout de-stress
uses: actions/checkout@v2

- name: Checkout dependencies_for_de-stress
uses: actions/checkout@v2
with:
repository: wells-wood-research/dependencies_for_de-stress.git
token: ${{ secrets.DEPENDENCIES_ACCESS_TOKEN }}
ref: master
path: dependencies_for_de-stress
- 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: Build and test `big-structure`
- name: Test `big-structure`
run: |
chmod -R 755 dependencies_for_de-stress/
cd big-structure/
docker build -t big-structure .
cd ..
docker run --rm -v $(pwd)/dependencies_for_de-stress/:/dependencies_for_de-stress/ \
--env-file .env-testing \
--env-file .env \
big-structure \
poetry run pytest -m "not rosetta"

0 comments on commit 4181795

Please sign in to comment.