Skip to content

Commit

Permalink
feat: run sscce in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lohart13 committed Mar 26, 2024
1 parent 1fb10ea commit 12689ca
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,35 @@ jobs:
run: yarn add typescript@~${{ matrix.ts-version }}
- name: Typing Tests
run: yarn test-typings
test-sscce:
strategy:
fail-fast: false
matrix:
node-version: [18, 20]
name: SQLite SSCCE (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: install-build-artifact-node-${{ matrix.node-version }}
- name: Extract artifact
run: tar -xf install-build-node-${{ matrix.node-version }}.tar
- name: Run SQLite SSCCE
run: yarn sscce-sqlite
test-sqlite:
strategy:
fail-fast: false
matrix:
node-version: [18, 20]
name: sqlite (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
needs: [unit-test, test-typings]
needs: [unit-test, test-typings, test-sscce]
env:
DIALECT: sqlite
steps:
Expand All @@ -194,7 +215,7 @@ jobs:
native: [true, false]
name: postgres ${{ matrix.postgres-version }}${{ matrix.native && ' (native)' || '' }} (Node ${{ matrix.node-version }})${{ matrix.minify-aliases && ' (minified aliases)' || '' }}
runs-on: ubuntu-latest
needs: [unit-test, test-typings]
needs: [unit-test, test-typings, test-sscce]
env:
DIALECT: ${{ matrix.native && 'postgres-native' || 'postgres' }}
SEQ_PG_MINIFY_ALIASES: ${{ matrix.minify-aliases && '1' || '' }}
Expand Down Expand Up @@ -224,7 +245,7 @@ jobs:
dialect: [mysql, mariadb, mssql, db2]
name: ${{ matrix.dialect }} ${{ matrix.database-version }} (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
needs: [unit-test, test-typings]
needs: [unit-test, test-typings, test-sscce]
env:
DIALECT: ${{ matrix.dialect }}
steps:
Expand Down

0 comments on commit 12689ca

Please sign in to comment.