ci: fix test file references and hardcoded paths
Some checks failed
CI / Lint & Format (push) Successful in 22s
CI / Security Scan (push) Successful in 20s
CI / Advanced Security Tests (push) Successful in 15s
CI / Memory Leak Check (push) Successful in 19s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Failing after 29s
Some checks failed
CI / Lint & Format (push) Successful in 22s
CI / Security Scan (push) Successful in 20s
CI / Advanced Security Tests (push) Successful in 15s
CI / Memory Leak Check (push) Successful in 19s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Failing after 29s
- Remove non-existent test_mime_detection.py from unit tests - Use relative paths in security tests for container compatibility
This commit is contained in:
@@ -117,7 +117,7 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
pytest tests/test_api.py tests/test_database.py tests/test_mime_detection.py \
|
||||
pytest tests/test_api.py tests/test_database.py \
|
||||
tests/test_paste_*.py tests/test_metrics.py tests/test_pki.py \
|
||||
-v --tb=short
|
||||
|
||||
|
||||
Reference in New Issue
Block a user