diff --git a/.github/workflows/ci/ci.yml b/.github/workflows/ci/ci.yml index 73824e482..d4864ecee 100644 --- a/.github/workflows/ci/ci.yml +++ b/.github/workflows/ci/ci.yml @@ -232,6 +232,51 @@ jobs: path: frontends/nextjs/playwright-report/ retention-days: 7 + test-dbal-daemon: + name: DBAL Daemon E2E + runs-on: ubuntu-latest + needs: test-e2e + defaults: + run: + working-directory: frontends/nextjs + steps: + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Setup Node.js + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + node-version: '20' + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Generate Prisma Client + run: bun run db:generate + env: + DATABASE_URL: file:./dev.db + + - name: Install Playwright Browsers + run: bunx playwright install --with-deps chromium + + - name: Run DBAL daemon suite + run: bun run test:e2e:dbal-daemon + env: + DATABASE_URL: file:./dev.db + + - name: Upload daemon test report + if: always() + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + with: + name: playwright-report-dbal-daemon + path: frontends/nextjs/playwright-report/ + retention-days: 7 + quality-check: name: Code Quality Check runs-on: ubuntu-latest