diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0448bd0..4de8345 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 3cd75f6..73aee16 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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