mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-16 16:36:53 +08:00
feat: add coverage reporting to CI
- Run npm run coverage in test workflow (non-blocking) - Upload coverage artifacts for visibility - Uses existing c8 configuration with 80% baseline Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ca0e6a8dc7
commit
2432e560f4
15
.github/workflows/reusable-test.yml
vendored
15
.github/workflows/reusable-test.yml
vendored
@ -149,6 +149,21 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CLAUDE_CODE_PACKAGE_MANAGER: ${{ inputs.package-manager }}
|
CLAUDE_CODE_PACKAGE_MANAGER: ${{ inputs.package-manager }}
|
||||||
|
|
||||||
|
- name: Run coverage
|
||||||
|
run: npm run coverage
|
||||||
|
continue-on-error: true
|
||||||
|
env:
|
||||||
|
CLAUDE_CODE_PACKAGE_MANAGER: ${{ inputs.package-manager }}
|
||||||
|
|
||||||
|
- name: Upload coverage reports
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
|
with:
|
||||||
|
name: coverage-${{ inputs.os }}-node${{ inputs.node-version }}-${{ inputs.package-manager }}
|
||||||
|
path: |
|
||||||
|
coverage/
|
||||||
|
*.lcov
|
||||||
|
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user