From aedc1ad9e42649ca6198c1f0a31067b6eac021d9 Mon Sep 17 00:00:00 2001 From: Martin Porwoll Date: Mon, 15 Dec 2025 12:38:44 +0000 Subject: [PATCH] fix(ci): add missing env vars for unit and integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add DATABASE_URI, CONSENT_LOGGING_API_KEY, and IP_ANONYMIZATION_PEPPER environment variables to test steps to prevent validation errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df90828..da5f105 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,9 @@ jobs: PAYLOAD_PUBLIC_SERVER_URL: https://test.example.com NEXT_PUBLIC_SERVER_URL: https://test.example.com EMAIL_DELIVERY_DISABLED: 'true' + DATABASE_URI: postgresql://placeholder:placeholder@localhost:5432/placeholder + CONSENT_LOGGING_API_KEY: ci-consent-api-key-placeholder + IP_ANONYMIZATION_PEPPER: ci-anonymization-pepper-placeholder - name: Run Integration Tests run: pnpm test:int @@ -117,6 +120,9 @@ jobs: PAYLOAD_PUBLIC_SERVER_URL: https://test.example.com NEXT_PUBLIC_SERVER_URL: https://test.example.com EMAIL_DELIVERY_DISABLED: 'true' + DATABASE_URI: postgresql://placeholder:placeholder@localhost:5432/placeholder + CONSENT_LOGGING_API_KEY: ci-consent-api-key-placeholder + IP_ANONYMIZATION_PEPPER: ci-anonymization-pepper-placeholder - name: Upload coverage report if: always()