mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 23:13:58 +08:00
fix: restore our test shards (#8468)
* restore our test shards to 10 * update to 25
This commit is contained in:
6
.github/workflows/typescript_test.yml
vendored
6
.github/workflows/typescript_test.yml
vendored
@ -220,12 +220,12 @@ jobs:
|
||||
|
||||
echo "Total tests to run: $TEST_COUNT"
|
||||
|
||||
# Calculate optimal shard count - 1 shard per 5 tests, min 1, max 40
|
||||
# Calculate optimal shard count - 1 shard per 5 tests, min 1, max 25
|
||||
SHARD_COUNT=$(( (TEST_COUNT + 4) / 5 ))
|
||||
if [ $SHARD_COUNT -lt 1 ]; then
|
||||
SHARD_COUNT=1
|
||||
elif [ $SHARD_COUNT -gt 40 ]; then
|
||||
SHARD_COUNT=40
|
||||
elif [ $SHARD_COUNT -gt 25 ]; then
|
||||
SHARD_COUNT=25
|
||||
fi
|
||||
|
||||
# Create the matrix combinations string
|
||||
|
||||
Reference in New Issue
Block a user