{"id":15404482,"url":"https://github.com/k1low/octocov-action","last_synced_at":"2025-04-09T16:10:15.345Z","repository":{"id":58356586,"uuid":"364387194","full_name":"k1LoW/octocov-action","owner":"k1LoW","description":":octocat: GitHub Action for octocov","archived":false,"fork":false,"pushed_at":"2025-03-19T10:47:25.000Z","size":370,"stargazers_count":44,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T16:09:58.948Z","etag":null,"topics":["badge","code-coverage","code-metrics","code-to-test-ratio","coverage-report","github-actions","test-execution-time","testing"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/run-octocov","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k1LoW.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"k1LoW","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-05-04T21:12:08.000Z","updated_at":"2025-04-05T16:55:31.000Z","dependencies_parsed_at":"2024-10-19T10:20:59.200Z","dependency_job_id":null,"html_url":"https://github.com/k1LoW/octocov-action","commit_stats":{"total_commits":151,"total_committers":5,"mean_commits":30.2,"dds":0.07284768211920534,"last_synced_commit":"1ad702b3118b6a055c00b01db68ca0d9f6641dbc"},"previous_names":[],"tags_count":138,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Foctocov-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Foctocov-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Foctocov-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1LoW%2Foctocov-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1LoW","download_url":"https://codeload.github.com/k1LoW/octocov-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065283,"owners_count":21041871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badge","code-coverage","code-metrics","code-to-test-ratio","coverage-report","github-actions","test-execution-time","testing"],"created_at":"2024-10-01T16:13:08.305Z","updated_at":"2025-04-09T16:10:15.321Z","avatar_url":"https://github.com/k1LoW.png","language":null,"funding_links":["https://github.com/sponsors/k1LoW"],"categories":[],"sub_categories":[],"readme":"# octocov-action\n\n:octocat: GitHub Action for [octocov](https://github.com/k1LoW/octocov)\n\n![comment](docs/comment_with_diff.png)\n\n## Usage\n\nAdd `.octocov.yml` ( or `octocov.yml` ) file to your repository.\n\n( `octocov init` is useful for easy generation. )\n\n``` yaml\n# .octocov.yml Go example\ncoverage:\n  paths:\n    - path/to/coverage.out\ncodeToTestRatio:\n  code:\n    - '**/*.go'\n    - '!**/*_test.go'\n  test:\n    - '**/*_test.go'\ntestExecutionTime:\n  if: true\ndiff:\n  datastores:\n    - artifact://${GITHUB_REPOSITORY}\ncomment:\n  if: is_pull_request\nreport:\n  if: is_default_branch\n  datastores:\n    - artifact://${GITHUB_REPOSITORY}\n```\n\nAnd set up a workflow file as follows and run octocov on GitHub Actions.\n\n``` yaml\n# .github/workflows/ci.yml\nname: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        uses: actions/checkout@v4\n      -\n        uses: actions/setup-go@v4\n        with:\n          go-version-file: go.mod\n      -\n        name: Run tests with coverage report output\n        run: go test ./... -coverprofile=coverage.out\n      -\n        uses: k1LoW/octocov-action@v1\n```\n\nSee [action.yml](action.yml) and [octocov README](https://github.com/k1LoW/octocov) for more details on how to configure it.\n\n## [Docker container action](https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action) version\n\nUse `v0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Foctocov-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1low%2Foctocov-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1low%2Foctocov-action/lists"}