chore(ci): add timeout config for jobs (#1725)

This commit is contained in:
Junyi 2023-04-18 21:00:02 +07:00 committed by GitHub
parent 422429e772
commit 05fd419729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,7 @@ jobs:
cache: 'yarn'
- run: yarn install
- run: yarn build
timeout-minutes: 15
sqlite-test:
strategy:
@ -57,6 +58,7 @@ jobs:
DB_DIALECT: sqlite
DB_STORAGE: /tmp/db.sqlite
DB_UNDERSCORED: ${{ matrix.underscored }}
timeout-minutes: 30
postgres-test:
strategy:
@ -103,6 +105,7 @@ jobs:
DB_UNDERSCORED: ${{ matrix.underscored }}
DB_SCHEMA: ${{ matrix.schema }}
COLLECTION_MANAGER_SCHEMA: ${{ matrix.collection_schema }}
timeout-minutes: 30
mysql-test:
strategy:
@ -137,3 +140,4 @@ jobs:
DB_PASSWORD: password
DB_DATABASE: nocobase
DB_UNDERSCORED: ${{ matrix.underscored }}
timeout-minutes: 30

View File

@ -37,6 +37,7 @@ jobs:
cache: 'yarn'
- run: yarn install
- run: yarn build
timeout-minutes: 15
postgres-test:
strategy:
@ -80,3 +81,4 @@ jobs:
DB_UNDERSCORED: true
DB_SCHEMA: nocobase
COLLECTION_MANAGER_SCHEMA: user_schema
timeout-minutes: 30