• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / cli
16%
main: 16%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/mod-0.25.0
DEFAULT BRANCH: main
Repo Added 24 Oct 2023 03:12AM CUT
Token NzC29UHkLY3mkLSUgvV1Sya7e9PwEbHuL regen
Build 727 Last
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH run-mod-spec
branch: run-mod-spec
CHANGE BRANCH
x
Reset
Sync Branches
  • run-mod-spec
  • add-brew-and-scoop-template
  • add-ca-certificates-in-image
  • add-e2e-tests
  • add-kcl-lsp-release-using-hook
  • add-mod-spec
  • add-mod-update
  • add-run-entry-for-test
  • add-single-module-folder-with-kcl-mod-run-kind
  • bug/tini-arm64
  • bump-kcl-0.7
  • bump-kcl-080-stable
  • bump-kcl-090-beta
  • bump-kcl-go-090-latest
  • bump-kcl-go-version-to075
  • bump-kcl-version-0.7.0-alpha.2
  • bump-kpm-kcl-go-0.10.x-alpha
  • bump-kpm-version
  • bump-release-image
  • bump-version
  • bump-version-0.11.2
  • bump_go_124
  • bump_purego
  • chore-adjust-ci-test
  • chore-bump-kcl-086
  • chore-bump-kcl-go-and-kpm-to-0.10.0-beta.2
  • chore-bump-kcl-openapi-version-and-keep-order
  • chore-bump-kcl-version-0.10.3
  • chore-bump-lib-085
  • chore-update-image-e2e-test-tag
  • chore-update-kcl-and-kcl-openapi-version
  • chore-update-version-to-0.11.1
  • ci-concurrent-test
  • ci-image-test
  • delete_helpmsg_path
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/contributor-assistant/github-action-2.3.1
  • dependabot/github_actions/contributor-assistant/github-action-2.3.2
  • dependabot/github_actions/contributor-assistant/github-action-2.4.0
  • dependabot/github_actions/docker/build-push-action-5
  • dependabot/github_actions/docker/build-push-action-6
  • dependabot/github_actions/docker/login-action-3
  • dependabot/github_actions/docker/login-action-3.4.0
  • dependabot/github_actions/docker/metadata-action-5
  • dependabot/github_actions/docker/metadata-action-5.6.1
  • dependabot/github_actions/docker/metadata-action-5.7.0
  • dependabot/github_actions/goreleaser/goreleaser-action-5
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/go_modules/github.com/fatih/color-1.16.0
  • dependabot/go_modules/github.com/fatih/color-1.17.0
  • dependabot/go_modules/github.com/fatih/color-1.18.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.12.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.13.4
  • dependabot/go_modules/github.com/goccy/go-yaml-1.13.7
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.10
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.13
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.15
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.17
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.19
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.23
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.5
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.8
  • dependabot/go_modules/github.com/goccy/go-yaml-1.16.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.17.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.15.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.16.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.3
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.21.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.23.4
  • dependabot/go_modules/github.com/onsi/gomega-1.31.1
  • dependabot/go_modules/github.com/onsi/gomega-1.32.0
  • dependabot/go_modules/github.com/onsi/gomega-1.33.0
  • dependabot/go_modules/github.com/onsi/gomega-1.33.1
  • dependabot/go_modules/github.com/onsi/gomega-1.34.0
  • dependabot/go_modules/github.com/onsi/gomega-1.34.2
  • dependabot/go_modules/github.com/onsi/gomega-1.35.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.0
  • dependabot/go_modules/github.com/onsi/gomega-1.36.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.2
  • dependabot/go_modules/github.com/onsi/gomega-1.37.0
  • dependabot/go_modules/github.com/otiai10/copy-1.14.0
  • dependabot/go_modules/github.com/otiai10/copy-1.14.1
  • dependabot/go_modules/github.com/spf13/cobra-1.8.0
  • dependabot/go_modules/github.com/spf13/cobra-1.8.1
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/github.com/spf13/pflag-1.0.6
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/golang.org/x/mod-0.18.0
  • dependabot/go_modules/golang.org/x/mod-0.19.0
  • dependabot/go_modules/golang.org/x/mod-0.20.0
  • dependabot/go_modules/golang.org/x/mod-0.21.0
  • dependabot/go_modules/golang.org/x/mod-0.22.0
  • dependabot/go_modules/golang.org/x/mod-0.23.0
  • dependabot/go_modules/golang.org/x/mod-0.25.0
  • dependabot/go_modules/gotest.tools/v3-3.5.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.1
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.8.2
  • dependabot/go_modules/kcl-lang.io/kcl-plugin-0.11.0
  • dependabot/go_modules/kcl-lang.io/kpm-0.11.2
  • dependabot/go_modules/kcl-lang.io/kpm-0.7.0
  • dependabot/go_modules/kcl-lang.io/kpm-0.9.0-rc.1
  • ench/209
  • enhance-clean-cmd
  • enhance-vet-cli-input
  • feat-add-diagnostic
  • feat-add-playgound-command
  • feat-add-queit-for-all-mod-cmd
  • feat-all-subcommands
  • feat-default-settings-file
  • feat-groupby-different-crd-version-files
  • feat-import-from-toml
  • feat-kcl-mod-rename-and-no-sum-check-flag
  • feat-kclx-cli-with-plugin
  • feat-plugin-framework
  • feat-run-command
  • feat-run-git-entry
  • feat-run-stdin-entry
  • feat-show-hidden-flag
  • feat-support-multiple-crd-import
  • feat-test-tool-cli
  • feat-toml-format
  • file-expand-for-import-tool
  • fix-cli-doc
  • fix-cli-output-trunc
  • fix-client-default-logger-to-stdout
  • fix-completion-cmd
  • fix-crd-groupby
  • fix-entry-with-pkg-deps
  • fix-example-tests
  • fix-fail-test
  • fix-git-repo-run
  • fix-image-ci
  • fix-image-lib-home-env
  • fix-json-output-sort-keys
  • fix-kcl-arm64-image-release
  • fix-kcl-lsp-install-scirpts-on-windows
  • fix-missing-print
  • fix-missing-print-09
  • fix-oci-source
  • fix-run-echo
  • fix-run-npe
  • fix-wrong-artifact-env-in-dockerfile
  • fix-wrong-crd-import-options
  • fix_image
  • fix_version
  • format-cli-documents
  • init-version-option
  • kcl-arm64-image
  • kcl-arm64-image-test
  • kpm-related-cmd-migration
  • latest
  • login_stdin
  • main
  • mod-add-url
  • mod-graph-cmd
  • more-e2e-test
  • not_block_pr
  • pull-mod-spec
  • refactor-image-release
  • refactor-mod-graph
  • refactor-vet-cli
  • refs/tags/v0.10.0-beta.1
  • refs/tags/v0.6.0
  • refs/tags/v0.6.0-alpha.4
  • refs/tags/v0.6.0-alpha.5
  • refs/tags/v0.6.0-alpha.6
  • refs/tags/v0.7.0
  • refs/tags/v0.7.0-alpha.1
  • refs/tags/v0.7.0-alpha.2
  • refs/tags/v0.7.0-beta.1
  • refs/tags/v0.7.0-beta.2
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.7.3-alpha.1
  • refs/tags/v0.7.4
  • refs/tags/v0.7.5
  • refs/tags/v0.8.0
  • refs/tags/v0.8.0-alpha.1
  • refs/tags/v0.8.0-beta.1
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.8.3
  • refs/tags/v0.8.4
  • refs/tags/v0.8.5
  • refs/tags/v0.8.6
  • refs/tags/v0.8.7
  • refs/tags/v0.8.8
  • refs/tags/v0.8.9
  • refs/tags/v0.9.0
  • refs/tags/v0.9.0-alpha.1
  • refs/tags/v0.9.0-beta.1
  • refs/tags/v0.9.0-rc.1
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2
  • refs/tags/v0.9.3
  • refs/tags/v0.9.4
  • refs/tags/v0.9.5
  • refs/tags/v0.9.6
  • refs/tags/v0.9.7
  • refs/tags/v0.9.8
  • release-0.7.1
  • release-0.9
  • release-090-tag
  • release-img
  • rename_registry
  • rm-modfile-update
  • server-command
  • set-log-to-stdout
  • support-add-rename
  • support-relative-path
  • supports-tls-flag
  • test-e2e-on-all-platforms
  • test-image-release
  • test-kcl-mod-pull-in-image
  • try-git-clone-in-kcl-image
  • unify-pull-cli
  • unify-run-cli
  • update_workflow
  • zzz

08 Nov 2024 09:00AM CUT coverage: 15.591% (+1.0%) from 14.63%
11739103988

Pull #165

github

zong-zhe
fix: fix unit test

Signed-off-by: zongz <zongzhe1024@163.com>
Pull Request #165: feat: make 'kcl mod run' support ModSpec

18 of 30 new or added lines in 1 file covered. (60.0%)

1 existing line in 1 file now uncovered.

99 of 635 relevant lines covered (15.59%)

0.17 hits per line

Relevant lines Covered
Build:
Build:
635 RELEVANT LINES 99 COVERED LINES
0.17 HITS PER LINE
Source Files on run-mod-spec
  • Tree
  • List 7
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
pkg/options/import.go137 95 0 95 0.0
0.0
pkg/fs/util.go98 62 0 62 0.0
0.0
pkg/import/crd/groupby.go145 67 0 67 0.0
0.0
pkg/fs/pattern.go40 23 0 23 0.0
0.0
pkg/plugin/handler.go153 80 0 80 0.0
29.73
pkg/options/run.go441 + 19296 + 1388 + 8208 + 51.0
91.67
pkg/version/version.go32 12 11 1 1.0
Showing 1 to 7 of 7 entries
  • Previous
  • 1
  • Next
  • ►
    15.59
    pkg/

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
11739103988 run-mod-spec fix: fix unit test Signed-off-by: zongz <zongzhe1024@163.com> Pull #165 08 Nov 2024 09:04AM CUT zong-zhe github
15.59
See All Builds (699)

Badge your Repo: cli

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc