chore: incr test timeout

This commit is contained in:
ChengLei Shao 2023-07-27 09:17:08 +08:00
parent f983e39cff
commit 331147dfaa

View File

@ -38,12 +38,12 @@ jobs:
cache: 'yarn'
- run: yarn install
- name: Test with Sqlite
run: yarn nocobase install -f && node --max_old_space_size=4096 --no-compilation-cache ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
run: yarn nocobase install -f && node --max_old_space_size=4096 ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
env:
DB_DIALECT: sqlite
DB_STORAGE: /tmp/db.sqlite
DB_UNDERSCORED: ${{ matrix.underscored }}
timeout-minutes: 30
timeout-minutes: 35
postgres-test:
strategy:
@ -79,7 +79,7 @@ jobs:
- run: yarn install
# - run: yarn build
- name: Test with postgres
run: yarn nocobase install -f && node --max_old_space_size=4096 --no-compilation-cache ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
run: yarn nocobase install -f && node --max_old_space_size=4096 ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
env:
DB_DIALECT: postgres
DB_HOST: postgres
@ -90,7 +90,7 @@ jobs:
DB_UNDERSCORED: ${{ matrix.underscored }}
DB_SCHEMA: ${{ matrix.schema }}
COLLECTION_MANAGER_SCHEMA: ${{ matrix.collection_schema }}
timeout-minutes: 30
timeout-minutes: 35
mysql-test:
strategy:
@ -116,7 +116,7 @@ jobs:
- run: yarn install
# - run: yarn build
- name: Test with MySQL
run: yarn nocobase install -f && node --max_old_space_size=4096 --no-compilation-cache ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
run: yarn nocobase install -f && node --max_old_space_size=4096 ./node_modules/.bin/jest --maxWorkers=1 --workerIdleMemoryLimit=3000MB
env:
DB_DIALECT: mysql
DB_HOST: mysql
@ -125,4 +125,4 @@ jobs:
DB_PASSWORD: password
DB_DATABASE: nocobase
DB_UNDERSCORED: ${{ matrix.underscored }}
timeout-minutes: 30
timeout-minutes: 35