@@ -2,11 +2,11 @@ name: Tests
22
33on :
44 push :
5- branches : [main ]
5+ branches : [release/v2 ]
66 pull_request :
77 types : [opened, synchronize, reopened, auto_merge_enabled]
88
9- # Allow parallel jobs on `main `, so that each commit is tested. For PRs, run only the latest commit.
9+ # Allow parallel jobs on `release/v2 `, so that each commit is tested. For PRs, run only the latest commit.
1010concurrency :
1111 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1212 cancel-in-progress : true
2020 packages : write
2121
2222 env :
23- cds_features_pool : true # TODO: make it work with Postgres test setup
2423 FORCE_COLOR : true
2524
2625 strategy :
@@ -29,14 +28,13 @@ jobs:
2928 node : [22]
3029
3130 steps :
32- - uses : actions/checkout@v6
33- - uses : actions/setup-node@v6
31+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
32+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3433 with :
3534 node-version : ${{ matrix.node }}
3635 cache : ' npm'
3736 - run : npm ci
3837 - run : npm install -g @sap/cds-dk
39- - run : npm ci
4038 - run : npm run lint
4139 - id : hxe
4240 uses : ./.github/actions/hxe
@@ -47,10 +45,10 @@ jobs:
4745 env :
4846 TAG : ${{ steps.hxe.outputs.TAG }}
4947 IMAGE_ID : ${{ steps.hxe.outputs.IMAGE_ID }}
50- - name : sqlite driver (node:sqlite )
48+ - name : sqlite driver (better-sqlite3) )
5149 run : npm test -w sqlite
5250 env :
53- CDS_REQUIRES_DB_DRIVER : ' node '
51+ CDS_REQUIRES_DB_DRIVER : ' better-sqlite3 '
5452 - name : sqlite driver (sql.js)
5553 run : npm test -w sqlite
5654 env :
0 commit comments