test: update expectation for posted review body format #286
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Quality | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| name: Verify Stability | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:16 | |
| env: | |
| POSTGRES_USER: postgres | |
| POSTGRES_PASSWORD: postgres | |
| POSTGRES_DB: codra_test | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| env: | |
| DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/codra_test | |
| TEST_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/codra_test | |
| GITHUB_APP_SLUG: codra-test-app | |
| GITHUB_APP_WEBHOOK_SECRET: fake-webhook-secret | |
| GITHUB_CLIENT_ID: fake-dashboard-client-id | |
| GITHUB_CLIENT_SECRET: fake-dashboard-client-secret | |
| AUTH_CALLBACK_URL: https://codra.test/auth/github/callback | |
| APP_URL: https://codra.test | |
| DASHBOARD_ALLOWED_USERS: devarshishimpi | |
| BOT_USERNAME: codra-test-app | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build packages | |
| run: npm run build:packages | |
| - name: Validate package exports | |
| run: | | |
| npm run check:exports | |
| for dir in packages/*/; do | |
| echo "publint $dir" | |
| (cd "$dir" && npx --no-install publint) || exit 1 | |
| done | |
| - name: Static Analysis (Typecheck) | |
| run: npm run typecheck && npm run typecheck:all | |
| - name: Static Analysis (Lint) | |
| run: npm run lint | |
| - name: Automated Tests | |
| run: npm test | |
| - name: Automated Tests (packages) | |
| run: npm run test:all | |
| - name: Build (client bundle) | |
| run: npx vite build | |
| - name: Build (worker bundle, dry run) | |
| run: cd apps/worker && npx wrangler deploy --dry-run --outdir=.wrangler/dry |