chore(ci): add timeout config for jobs (#1725)
This commit is contained in:
parent
422429e772
commit
05fd419729
4
.github/workflows/nocobase-test-full.yml
vendored
4
.github/workflows/nocobase-test-full.yml
vendored
@ -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
|
||||
|
2
.github/workflows/nocobase-test-lite.yml
vendored
2
.github/workflows/nocobase-test-lite.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user