Skip to content

add gha for mcp_dart_cli#54

Merged
leehack merged 3 commits intomainfrom
add-gha
Dec 19, 2025
Merged

add gha for mcp_dart_cli#54
leehack merged 3 commits intomainfrom
add-gha

Conversation

@leehack
Copy link
Copy Markdown
Owner

@leehack leehack commented Dec 19, 2025

This pull request introduces separate GitHub Actions workflows for the Dart CLI and Core packages, improving CI/CD clarity and maintainability. It adds dedicated test and publish workflows for the CLI, renames and updates the existing workflows for the Core package, and ensures that each workflow only runs for relevant files.

Workflows for the Dart CLI package:

  • Added .github/workflows/test_cli.yml to run tests, static analysis, and pana package analysis for the CLI package on PRs and pushes, enforcing a perfect pana score for quality.
  • Added .github/workflows/publish_cli.yml to publish the CLI package to pub.dev when a matching tag is pushed.

Workflows for the Core package:

  • Renamed and updated .github/workflows/test.yml to .github/workflows/test_core.yml, now only running for Core-related changes and ignoring CLI files.
  • Renamed and updated .github/workflows/publish.yml to .github/workflows/publish_core.yml, clarifying that it publishes only the Core package.

Comment thread .github/workflows/test_cli.yml Fixed
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.44%. Comparing base (6ea9aae) to head (c3d7eb2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   77.44%   77.44%           
=======================================
  Files          40       40           
  Lines        5068     5068           
=======================================
  Hits         3925     3925           
  Misses       1143     1143           
Flag Coverage Δ
unittests 77.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leehack leehack merged commit 8219c63 into main Dec 19, 2025
4 checks passed
@leehack leehack deleted the add-gha branch December 19, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants