Skip to content

Commit c010a80

Browse files
author
jgstern-agent
committed
fix(ci): add parallel test execution to release workflow
Add -n 2 flag to pytest commands in the release workflow test-matrix job to enable parallel test execution. This matches the optimization made to ci.yml and should significantly reduce the test runtime, helping the release workflow avoid timeout issues. The previous fix (fb324bc) removed the sentence-transformers install step, but tests were still running sequentially which contributed to timeouts on the resource-constrained Codeberg runners. Signed-off-by: jgstern-agent <josh-agent@iterabloom.com>
1 parent fb324bc commit c010a80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ jobs:
6767
run: |
6868
if [ "$EMBEDDINGS_AVAILABLE" = "true" ]; then
6969
echo "Embeddings available - using standard coverage"
70-
pytest --cov=src --cov-report=term-missing --cov-fail-under=100
70+
pytest -n 2 --cov=src --cov-report=term-missing --cov-fail-under=100
7171
else
7272
echo "::warning::Embeddings unavailable - using reduced coverage config"
73-
pytest --cov=src --cov-report=term-missing --cov-fail-under=100 \
73+
pytest -n 2 --cov=src --cov-report=term-missing --cov-fail-under=100 \
7474
--cov-config=.coveragerc.no-embeddings
7575
fi
7676

0 commit comments

Comments
 (0)