Skip to content
Open
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
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ jobs:
JWT_SECRET: test-secret-key
JWT_REFRESH_SECRET: test-refresh-secret-key

# --- NEW STEP ADDED FOR ISSUE #753 ---
- name: Check documents module test coverage (>70%)
run: npx jest src/documents --coverage --collectCoverageFrom="src/documents/**/*.ts" --coverageThreshold='{"global":{"statements":70,"branches":70,"functions":70,"lines":70}}'
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test
JWT_SECRET: test-secret-key
JWT_REFRESH_SECRET: test-refresh-secret-key
# -------------------------------------

build:
runs-on: ubuntu-latest
needs: [lint, test]
Expand Down Expand Up @@ -141,4 +150,4 @@ jobs:
run: |
echo "Deploying to production environment..."
# Add your deployment commands here
# Example: scp -r dist/* user@production-server:/path/to/app
# Example: scp -r dist/* user@production-server:/path/to/app
Loading