fix: Add SECRET_KEY env and pdfplumber dependency for CI
Some checks are pending
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run

- Add SECRET_KEY environment variable to all test steps
- Add pdfplumber to requirements.txt (used by krs_audit_service)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-02-02 08:00:38 +01:00
parent 3618c1f49a
commit f405bdafb9
2 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,7 @@ jobs:
pytest tests/unit/ -v --cov=. --cov-report=xml
env:
TESTING: 'true'
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
- name: Run integration tests
@ -59,6 +60,7 @@ jobs:
pytest tests/integration/ -v --cov=. --cov-report=xml --cov-append
env:
TESTING: 'true'
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
- name: Run security tests
@ -66,6 +68,7 @@ jobs:
pytest tests/security/ -v
env:
TESTING: 'true'
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
- name: Check coverage

View File

@ -31,6 +31,7 @@ Flask-Mail==0.9.1
requests==2.31.0
feedparser==6.0.10
user-agents>=2.2.0
pdfplumber>=0.10.0
# SEO Analysis
beautifulsoup4==4.12.3