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
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:
parent
3618c1f49a
commit
f405bdafb9
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -52,6 +52,7 @@ jobs:
|
|||||||
pytest tests/unit/ -v --cov=. --cov-report=xml
|
pytest tests/unit/ -v --cov=. --cov-report=xml
|
||||||
env:
|
env:
|
||||||
TESTING: 'true'
|
TESTING: 'true'
|
||||||
|
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
|
||||||
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
||||||
|
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
@ -59,6 +60,7 @@ jobs:
|
|||||||
pytest tests/integration/ -v --cov=. --cov-report=xml --cov-append
|
pytest tests/integration/ -v --cov=. --cov-report=xml --cov-append
|
||||||
env:
|
env:
|
||||||
TESTING: 'true'
|
TESTING: 'true'
|
||||||
|
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
|
||||||
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
||||||
|
|
||||||
- name: Run security tests
|
- name: Run security tests
|
||||||
@ -66,6 +68,7 @@ jobs:
|
|||||||
pytest tests/security/ -v
|
pytest tests/security/ -v
|
||||||
env:
|
env:
|
||||||
TESTING: 'true'
|
TESTING: 'true'
|
||||||
|
SECRET_KEY: 'test-secret-key-for-ci-cd-minimum-32-chars-long'
|
||||||
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
DATABASE_URL: postgresql://nordabiz_test:testpassword@localhost:5432/nordabiz_test
|
||||||
|
|
||||||
- name: Check coverage
|
- name: Check coverage
|
||||||
|
|||||||
@ -31,6 +31,7 @@ Flask-Mail==0.9.1
|
|||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
feedparser==6.0.10
|
feedparser==6.0.10
|
||||||
user-agents>=2.2.0
|
user-agents>=2.2.0
|
||||||
|
pdfplumber>=0.10.0
|
||||||
|
|
||||||
# SEO Analysis
|
# SEO Analysis
|
||||||
beautifulsoup4==4.12.3
|
beautifulsoup4==4.12.3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user