mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-17 19:44:12 +00:00
fix(ci): add missing env vars for unit and integration tests
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 <noreply@anthropic.com>
This commit is contained in:
parent
00167756f5
commit
aedc1ad9e4
1 changed files with 6 additions and 0 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue