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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ jobs:
- name: Build project
run: npm run build

- name: Run tests
run: npm test
- name: Run tests with coverage
run: |
echo "=== Running tests with coverage ==="
npm run test:coverage
echo ""
echo "✅ Test coverage report completed"

- name: Verify server starts
run: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ jobs:
- name: Build project
run: npm run build

- name: Test status
- name: Test status with coverage
run: |
npm test
echo "=== Running tests with coverage ==="
npm run test:coverage
TEST_EXIT_CODE=$?
echo ""
if [ $TEST_EXIT_CODE -eq 0 ]; then
echo "✅ All tests passed - PR is ready for review"
echo "✅ All tests passed with coverage report - PR is ready for review"
else
echo "❌ Tests failed - PR blocked"
exit $TEST_EXIT_CODE
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
- name: Build project
run: npm run build

- name: Run tests
run: npm test
- name: Run tests with coverage
run: |
echo "=== Running tests with coverage for release validation ==="
npm run test:coverage
echo ""
echo "✅ Release tests passed with coverage validation"

- name: Create release package
run: |
Expand Down
Loading