chore(ci): test

This commit is contained in:
xilesun 2024-11-20 09:38:52 +08:00
parent 15774ee5c9
commit fe8ea5089a
3 changed files with 13 additions and 10 deletions

View File

@ -9,6 +9,7 @@ on:
branches: branches:
- main - main
- next - next
- develop
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock' - '**/yarn.lock'
@ -39,8 +40,8 @@ jobs:
sqlite-test: sqlite-test:
strategy: strategy:
matrix: matrix:
node_version: [ '20' ] node_version: ['20']
underscored: [ true, false ] underscored: [true, false]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:${{ matrix.node_version }} container: node:${{ matrix.node_version }}
services: services:
@ -70,10 +71,10 @@ jobs:
postgres-test: postgres-test:
strategy: strategy:
matrix: matrix:
node_version: [ '20' ] node_version: ['20']
underscored: [ true, false ] underscored: [true, false]
schema: [ public, nocobase ] schema: [public, nocobase]
collection_schema: [ public, user_schema ] collection_schema: [public, user_schema]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:${{ matrix.node_version }} container: node:${{ matrix.node_version }}
services: services:
@ -129,8 +130,8 @@ jobs:
mysql-test: mysql-test:
strategy: strategy:
matrix: matrix:
node_version: [ '20' ] node_version: ['20']
underscored: [ true, false ] underscored: [true, false]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:${{ matrix.node_version }} container: node:${{ matrix.node_version }}
services: services:
@ -175,8 +176,8 @@ jobs:
mariadb-test: mariadb-test:
strategy: strategy:
matrix: matrix:
node_version: [ '20' ] node_version: ['20']
underscored: [ true, false ] underscored: [true, false]
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:${{ matrix.node_version }} container: node:${{ matrix.node_version }}
services: services:

View File

@ -9,6 +9,7 @@ on:
branches: branches:
- main - main
- next - next
- develop
paths: paths:
- 'packages/**' - 'packages/**'
- '**/yarn.lock' - '**/yarn.lock'

View File

@ -9,6 +9,7 @@ on:
branches: branches:
- main - main
- next - next
- develop
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock' - '**/yarn.lock'