Skip to content

Commit d2c491f

Browse files
authored
chore(config): consolidate mocharc monorepo (#8415)
* chore: remove .mocharc.js generation and update package.json templates to point to root mocharc * chore: create unified root mocharc.js with parallel workers, update ci test runner memory limits, and remove all duplicate package-level configs * chore: enable recursive testing in root mocharc * chore: update generator templates, GHA workflow, baselines, and retryable map test to support unified mocharc.cjs * chore: rename root mocharc to .cjs, add generic batch test runner under ci/, and lower CI memory limit to 6GB * chore: add root .mocharc.cjs config to satisfy baseline generator tests * chore: configure system-test templates and baselines to disable parallel execution * chore: use generic batch test runner for compute to prevent CI OOM failures * chore: remove generic batch runner and standardize compute unit test command to parallel mocha * chore: revert compute package.json test script to standard parallel mocha config
1 parent a29e505 commit d2c491f

237 files changed

Lines changed: 2 additions & 7509 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ci/run_single_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -e
1818

1919
export REGION_ID='uc'
2020
export PROJECT_ROOT=$(realpath $(dirname "${BASH_SOURCE[0]}")/..)
21-
export NODE_OPTIONS=--max_old_space_size=4096
21+
export NODE_OPTIONS=--max_old_space_size=6144
2222

2323
if [ -z "${BUILD_TYPE}" ]; then
2424
echo "missing BUILD_TYPE env var"

packages/google-ads-admanager/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-ads-datamanager/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-ai-generativelanguage/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-analytics-admin/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-analytics-data/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-api-apikeys/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-api-cloudquotas/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-api-servicecontrol/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/google-api-servicemanagement/.mocharc.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)