ci: add acceptance tests job with CI database and sync-dev recipe

This commit is contained in:
2026-05-03 16:31:45 -07:00
parent 75cb6ed29d
commit 30ea4e4e86
3 changed files with 205 additions and 0 deletions
+23
View File
@@ -27,6 +27,29 @@ jobs:
- name: Run unit tests
run: bun test src/__tests__/unit/ src/__tests__/*.test.tsx src/__tests__/auth-simple.test.ts
acceptance-tests:
runs-on: ubuntu-latest
container:
image: docker.notsosm.art/euchre-camp/ci-base:latest
options: --user root
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: bun install
- name: Generate Prisma client
run: bun x prisma generate
env:
DATABASE_URL: postgresql://user:pass@localhost:5432/dummy
- name: Run acceptance tests
run: DATABASE_URL="${{ vars.CI_DATABASE_URL }}" bun test:acceptance
env:
CI: true
analyze-bump-type:
runs-on: ubuntu-latest
needs: unit-tests