mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +00:00
feat(Backend): PRWLR-3990 Add custom logging (#6)
* chore: PRWLR-4022 add django-cors-headers * chore: PRWLR-4022 configure basic CORS * feat: PRWLR-4022 add drf-spectacular and spec/docs endpoints * build: PRWLR-4022 add basic docker development deployment * chore: PRWLR-4022 update schema generation * chore: PRWLR-4022 bump required Python version to 3.12 * feat: PRWLR-3990 add basic custom Django logging * feat: PRWLR-3990 add tasks logger * chore: PRWLR-3990 update API logging middleware to follow updated syntax * docs: PRWLR-3990 add docstring for APILoggingMiddleware class * chore: PRWLR-3990 add testing dependencies to poetry * test(API): PRWLR-3990 add new middleware unit tests and base setup * feat(API, Backend): PRWLR-3990 add NDJSONFormatter and transaction_id * feat(API): PRWLR-3990 add dev/test model, views and urls * chore(backend): PRWLR-3990 refactor logging settings and modules * chore(backend): PRWLR-3990 add BackendLogger enum and refactor logging modules * chore(backend): PRWLR-3990 refactor module importing * style(backend): PRWLR-3990 remove extra endlines * chore: PRWLR-3990 update poetry.lock * chore: PRWLR-3990 run pre-commit
This commit is contained in:
committed by
GitHub
parent
30775373dc
commit
3a502c5b3d
@@ -85,7 +85,7 @@ jobs:
|
||||
- name: Test with pytest
|
||||
if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'
|
||||
run: |
|
||||
poetry run pytest -n auto --cov=./src --cov-report=xml tests
|
||||
poetry run pytest -n auto --cov=./src/backend --cov-report=xml src/backend
|
||||
- name: Upload coverage reports to Codecov
|
||||
if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'
|
||||
uses: codecov/codecov-action@v4
|
||||
|
||||
Reference in New Issue
Block a user