These changes split the examples up in chunks and runs the different chunks to speed up the workflow.

This commit is contained in:
woodsh17
2025-10-17 10:39:26 -05:00
parent a9b748be37
commit 5dff3eb188
2 changed files with 188 additions and 66 deletions

View File

@@ -87,7 +87,15 @@ jobs:
- name: Setup and Run ppi_scaffolds tests
run: |
tar -xvf examples/ppi_scaffolds_subset.tar.gz -C examples
cd tests && uv run python test_diffusion.py
total_chunks=$(nproc)
for chunk_index in $(seq 1 $total_chunks); do
echo "Running chunk $chunk_index of $total_chunks"
uv run python tests/test_diffusion.py --total-chunks $total_chunks --chunk-index $chunk_index &
done
wait
echo "All chunks completed."
#cd tests && uv run python test_diffusion.py
# - name: Test with pytest