mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 22:19:40 +08:00
test: update workflow configuration and Financial Agent JSON structure (nightly fix) (#7112)
* ✅ (test_apply_json_filter.py): update test data generation to exclude whitespace characters and control characters in dictionary keys to improve data quality and reliability
* fix tests
This commit is contained in:
committed by
GitHub
parent
4e6c2da0d1
commit
9f331d67e5
10
.github/workflows/typescript_test.yml
vendored
10
.github/workflows/typescript_test.yml
vendored
@ -16,7 +16,7 @@ on:
|
||||
description: "Test suites to run (JSON array)"
|
||||
required: false
|
||||
type: string
|
||||
default: '[]'
|
||||
default: "[]"
|
||||
release:
|
||||
description: "Whether this is a release build"
|
||||
required: false
|
||||
@ -37,7 +37,7 @@ on:
|
||||
description: "Test suites to run (JSON array)"
|
||||
required: false
|
||||
type: string
|
||||
default: '[]'
|
||||
default: "[]"
|
||||
release:
|
||||
description: "Whether this is a release build"
|
||||
required: false
|
||||
@ -195,12 +195,12 @@ jobs:
|
||||
|
||||
echo "Total tests to run: $TEST_COUNT"
|
||||
|
||||
# Calculate optimal shard count - 1 shard per 5 tests, min 1, max 10
|
||||
# Calculate optimal shard count - 1 shard per 5 tests, min 1, max 15
|
||||
SHARD_COUNT=$(( (TEST_COUNT + 4) / 5 ))
|
||||
if [ $SHARD_COUNT -lt 1 ]; then
|
||||
SHARD_COUNT=1
|
||||
elif [ $SHARD_COUNT -gt 10 ]; then
|
||||
SHARD_COUNT=10
|
||||
elif [ $SHARD_COUNT -gt 15 ]; then
|
||||
SHARD_COUNT=15
|
||||
fi
|
||||
|
||||
# Create the matrix combinations string
|
||||
|
||||
Reference in New Issue
Block a user