Skip to content

Commit fc76185

Browse files
grdsdevclaude
andcommitted
refactor(ci): simplify Phase 4 - remove test summaries and coverage
Simplified Phase 4 developer experience improvements by removing: - Test result summaries (GitHub step summaries) - Coverage report generation - Coverage artifact uploads Phase 4 now only includes: - Workflow status badges in README.md This keeps the workflow simpler and focuses on essential visibility improvements through badges without the overhead of generating summaries and coverage reports that aren't needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5c25e72 commit fc76185

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

.github/workflows/dart-package-test.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -91,52 +91,13 @@ jobs:
9191
run: sleep 5
9292

9393
- name: Run tests
94-
id: run_tests
95-
continue-on-error: true
9694
run: |
9795
if [ "${{ inputs.test-concurrency }}" == "1" ]; then
9896
dart test --concurrency=1
9997
else
10098
dart test
10199
fi
102100
103-
- name: Generate test summary
104-
if: always()
105-
run: |
106-
echo "## Test Results for ${{ inputs.package-name }} (SDK: ${{ matrix.sdk }})" >> $GITHUB_STEP_SUMMARY
107-
echo "" >> $GITHUB_STEP_SUMMARY
108-
if [ "${{ steps.run_tests.outcome }}" == "success" ]; then
109-
echo "✅ All tests passed" >> $GITHUB_STEP_SUMMARY
110-
else
111-
echo "❌ Some tests failed" >> $GITHUB_STEP_SUMMARY
112-
fi
113-
echo "" >> $GITHUB_STEP_SUMMARY
114-
echo "**Package:** \`${{ inputs.package-name }}\`" >> $GITHUB_STEP_SUMMARY
115-
echo "**SDK Version:** \`${{ matrix.sdk }}\`" >> $GITHUB_STEP_SUMMARY
116-
echo "**Working Directory:** \`${{ inputs.working-directory }}\`" >> $GITHUB_STEP_SUMMARY
117-
if [ "${{ inputs.needs-docker }}" == "true" ]; then
118-
echo "**Docker Services:** ✓ Required" >> $GITHUB_STEP_SUMMARY
119-
fi
120-
121-
- name: Check test results
122-
if: steps.run_tests.outcome != 'success'
123-
run: exit 1
124-
125-
- name: Generate coverage report
126-
if: matrix.sdk == 'stable'
127-
run: |
128-
dart pub global activate coverage
129-
dart test --coverage=coverage
130-
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
131-
132-
- name: Upload coverage artifact
133-
if: matrix.sdk == 'stable'
134-
uses: actions/upload-artifact@v4
135-
with:
136-
name: coverage-${{ inputs.package-name }}
137-
path: ${{ inputs.working-directory }}/coverage/
138-
retention-days: 7
139-
140101
- name: Stop Docker services
141102
if: ${{ inputs.needs-docker && always() }}
142103
run: |

0 commit comments

Comments
 (0)