Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ jobs:
pip install --editable .[evaluate]
python -c "import openproblems"

- name: Pull Docker images
if: |
(
startsWith(github.ref, 'refs/heads/test_benchmark') ||
startsWith(github.ref, 'refs/heads/test_full_benchmark')
)
run: |
cd workflow
snakemake -j $(nproc) docker_pull
cd ..

- name: Update Docker images
if: |
!(
Expand Down Expand Up @@ -505,13 +516,15 @@ jobs:
env:
TOWER_WATCH_URL: https://tower.nf/orgs/openproblems-bio/workspaces/openproblems-bio/watch
TOWER_WORKSPACE_ID: 53907369739130
TOWER_TEST_ACTION_ID: "6yMzmbRXXDZMoVqVkEozQo"
TOWER_FULL_ACTION_ID: "6znCmebL2EBgWJTQz0H7pz"
BRANCH: ${{ needs.setup_benchmark.outputs.branch }}
run: |
if [[ ${{ startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/test_full_benchmark') }} == true ]]; then
TOWER_ACTION_ID="bVQhVSNah1JmJfnKkfyjg"
TOWER_ACTION_ID="${TOWER_FULL_ACTION_ID}"
WORKDIR="s3://openproblems-nextflow/work_main"
else
TOWER_ACTION_ID="5BQc88ZvjuXCYbc55Hot27"
TOWER_ACTION_ID="${TOWER_TEST_ACTION_ID}"
WORKDIR="s3://openproblems-nextflow/work/${BRANCH}"
fi
generate_parameters()
Expand Down