Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,10 @@ jobs:
run: |
pytest --verbose --tb=short --cov=. --cov-report=xml --cov-report=term

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Comment PR with test results
uses: actions/github-script@v7
Expand Down Expand Up @@ -158,7 +155,7 @@ jobs:
run: |
# Install compatible versions for safety
pip install "typer<0.13.0" "safety==2.4.0b2" || pip install "safety<3.0.0"

# Run safety check with fallback
safety check || {
echo "Safety check failed, trying pip-audit as fallback..."
Expand Down
2 changes: 1 addition & 1 deletion SecCodeSmithBackend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"django-insecure-kxr)0+uz_9=jdz0elc)-cbmxc2k5@(*)=cym0#r$s&(x#qzy&p",
),
ALLOWED_HOSTS=(list, ["*"]),
DATABASE_TYPE=(str, "pgsql"),
DATABASE_TYPE=(str, ""),
DATABASE_USER=(str, "postgres"),
DATABASE_PASSWORD=(str, "postgres"),
DATABASE_HOST=(str, "localhost"),
Expand Down
Loading