diff --git a/.claude/checkpoints/1755355159.json b/.claude/checkpoints/1755355159.json new file mode 100644 index 0000000000..2110ce89f0 --- /dev/null +++ b/.claude/checkpoints/1755355159.json @@ -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"} diff --git a/.claude/checkpoints/1755355161.json b/.claude/checkpoints/1755355161.json new file mode 100644 index 0000000000..34723154be --- /dev/null +++ b/.claude/checkpoints/1755355161.json @@ -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(-) "} diff --git a/validation-test/.github/workflows/test.yml b/validation-test/.github/workflows/test.yml new file mode 100644 index 0000000000..a9461eed1a --- /dev/null +++ b/validation-test/.github/workflows/test.yml @@ -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}%" \ No newline at end of file