mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/validation-test/.github/workflows/test.yml
This commit is contained in:
1 parent
fd5b541632
commit
69f7cf699d
3 files changed
+66
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250816-143919", "file": "/workspaces/claude-code-flow/issue-implement-mcp-tools.md", "timestamp": "2025-08-16T14:39:19Z", "type": "pre-edit", "original_branch": "alpha90"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250816-143921", "file": "/workspaces/claude-code-flow/issue-implement-mcp-tools.md", "timestamp": "2025-08-16T14:39:21Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++ .claude-flow/metrics/task-metrics.json | 6 +- claude-flow-wiki | 0 issue-implement-mcp-tools.md | 208 +++++++++++++++++++++ .../.claude/checkpoints/1755355151.json | 1 + .../.claude/checkpoints/1755355152.json | 1 + 7 files changed, 226 insertions(+), 4 deletions(-) "}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
name: Test Suite
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, develop ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linter
|
||||
run: npm run lint --if-present
|
||||
|
||||
- name: Run tests with coverage
|
||||
run: npm test
|
||||
|
||||
- name: Upload coverage reports
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
file: ./coverage/coverage-final.json
|
||||
flags: unittests
|
||||
name: codecov-umbrella
|
||||
fail_ci_if_error: false
|
||||
|
||||
validate:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check coverage thresholds
|
||||
run: npm run coverage
|
||||
|
||||
- name: Generate coverage badge
|
||||
run: |
|
||||
COVERAGE=$(cat coverage/coverage-summary.json | jq '.total.lines.pct')
|
||||
echo "Coverage: ${COVERAGE}%"
|
||||
Reference in new issue
Block a user