Improving install #359
Workflow file for this run
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: 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 | |
cp .env-headless-testing .env-headless | |
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 --rm -v /home/runner/work/de-stress/de-stress/dependencies_for_de-stress/:/dependencies_for_de-stress de-stress-big-structure:latest sh build_dependencies_tests.sh | |
- name: Test `big-structure` | |
run: | | |
docker run --rm -v /home/runner/work/de-stress/de-stress/dependencies_for_de-stress/:/dependencies_for_de-stress/ \ | |
--env-file .env-headless \ | |
de-stress-big-structure:latest \ | |
poetry run pytest -m "not rosetta" | |