Try splitting up unit and integration tests
CI Pipeline / test (20) (pull_request) Successful in 2m51s
CI Pipeline / test (18) (pull_request) Successful in 3m9s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m6s
CI Pipeline / e2e (firefox) (pull_request) Successful in 4m13s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m35s
CI Pipeline / performance (pull_request) Successful in 2m37s
CI Pipeline / storybook (pull_request) Successful in 1m24s
CI Pipeline / lint (pull_request) Successful in 1m9s
CI Pipeline / build (pull_request) Successful in 1m22s
CI Pipeline / visual-regression (pull_request) Successful in 3m51s
CI Pipeline / test (20) (pull_request) Successful in 2m51s
CI Pipeline / test (18) (pull_request) Successful in 3m9s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m6s
CI Pipeline / e2e (firefox) (pull_request) Successful in 4m13s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m35s
CI Pipeline / performance (pull_request) Successful in 2m37s
CI Pipeline / storybook (pull_request) Successful in 1m24s
CI Pipeline / lint (pull_request) Successful in 1m9s
CI Pipeline / build (pull_request) Successful in 1m22s
CI Pipeline / visual-regression (pull_request) Successful in 3m51s
This commit is contained in:
@@ -40,13 +40,13 @@ jobs:
|
||||
echo "CPU info: $(sysctl -n machdep.cpu.brand_string || uname -m)"
|
||||
- run: |
|
||||
echo "Running tests with CI optimizations..."
|
||||
# Run tests in smaller batches to reduce memory pressure
|
||||
# Run tests in smaller batches to avoid resource contention
|
||||
echo "Running unit tests..."
|
||||
npm test -- tests/unit/ --reporter=verbose --run --bail=1
|
||||
npm test -- tests/unit/ --run --reporter=verbose --no-coverage --maxConcurrency=1
|
||||
echo "Running integration tests..."
|
||||
npm test -- tests/integration/ --reporter=verbose --run --bail=1
|
||||
npm test -- tests/integration/ --run --reporter=verbose --no-coverage --maxConcurrency=1
|
||||
echo "Running accessibility tests..."
|
||||
npm test -- tests/accessibility/ --reporter=verbose --run --bail=1
|
||||
npm test -- tests/accessibility/ --run --reporter=verbose --no-coverage --maxConcurrency=1
|
||||
# If the Codecov Action fails on Gitea, replace this with the bash uploader below
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
Reference in New Issue
Block a user