mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-21 05:44:51 +08:00
test(ci): build sqlite driver from source
This commit is contained in:
@@ -43,6 +43,7 @@ on:
|
||||
jobs:
|
||||
postgres-test:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node_version: ['22']
|
||||
underscored: [true, false]
|
||||
@@ -86,8 +87,9 @@ jobs:
|
||||
|
||||
- name: Install project dependencies
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3 make g++
|
||||
yarn install
|
||||
yarn add sqlite3 --no-save -W
|
||||
yarn add sqlite3 --no-save -W --build-from-source
|
||||
- name: Test with postgres
|
||||
run: |
|
||||
./node_modules/.bin/tsx packages/core/test/src/scripts/test-db-creator.ts &
|
||||
@@ -109,4 +111,4 @@ jobs:
|
||||
DB_TEST_PREFIX: test
|
||||
ENCRYPTION_FIELD_KEY: 1%&glK;<UA}aIxJVc53-4G(rTi0vg@J]
|
||||
CACHE_REDIS_URL: ${{ matrix.cache_redis }}
|
||||
timeout-minutes: 120
|
||||
timeout-minutes: 180
|
||||
|
||||
Reference in New Issue
Block a user