{"id":15294873,"url":"https://github.com/jandelgado/gcov2lcov-action","last_synced_at":"2025-04-10T00:19:28.455Z","repository":{"id":39883414,"uuid":"212906767","full_name":"jandelgado/gcov2lcov-action","owner":"jandelgado","description":"Github action to convert go coverage files to lcov format","archived":false,"fork":false,"pushed_at":"2024-10-15T10:43:35.000Z","size":21,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-22T03:22:01.971Z","etag":null,"topics":["coverage","coverage-files","gcov2lcov","gcov2lcov-action","golang","lcov","testing"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"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/jandelgado.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2019-10-04T21:41:19.000Z","updated_at":"2024-10-15T10:40:25.000Z","dependencies_parsed_at":"2024-06-20T07:23:15.685Z","dependency_job_id":"375961c0-3212-4d35-977b-f33d3eb70580","html_url":"https://github.com/jandelgado/gcov2lcov-action","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.5238095238095238,"last_synced_commit":"4e1989767862652e6ca8d3e2e61aabe6d43be28b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fgcov2lcov-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fgcov2lcov-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fgcov2lcov-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandelgado%2Fgcov2lcov-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jandelgado","download_url":"https://codeload.github.com/jandelgado/gcov2lcov-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131535,"owners_count":21052868,"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":["coverage","coverage-files","gcov2lcov","gcov2lcov-action","golang","lcov","testing"],"created_at":"2024-09-30T17:07:44.267Z","updated_at":"2025-04-10T00:19:28.422Z","avatar_url":"https://github.com/jandelgado.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcov2lcov-action\n\n[![Build Status](https://github.com/jandelgado/gcov2lcov-action/workflows/test/badge.svg)](https://github.com/jandelgado/gcov2lcov-action/actions?workflow=test)\n\u003ctable\u003e\u003ctr\u003e\u003ctd\u003e \n\u003ch2\u003eNOTE\u003c/h2\u003e\n\u003cb\u003e\nThe \u003ca href=\"https://github.com/coverallsapp/github-action\"\u003ecoverallsapp-action\u003c/a\u003e\nnow supports the golang coverage format out of the box. You probably won't need\nthis action anymore. Example:\n\u003c/b\u003e\n\n```yaml\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.github_token }}\n          file: coverage.out\n          format: golang\n```\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n## What\n\nConvert golang coverage files to lcov format. Works nicely with the [coveralls\ngithub action](https://github.com/marketplace/actions/coveralls-github-action) and\nuses [gcov2lcov](https://github.com/jandelgado/gcov2lcov) under the hood.\n\n## Inputs\n\n### `infile`\n\n**Optional** Name of the go coverage file. Default `coverage.out`.\n\n### `outfile`\n\n**Optional** Name of the lcov file to write. Default `coverage.lcov`.\n\n### `version`\n\n**Optional** Name of the specific gcov2lcov program version. Default `latest`.\n\n### `working-directory`\n\n**Optional** Name of directory where gcov2lcov is run. Defaults to `$GITHUB_WORKSPACE`.\n\n## Outputs\n\nNo outputs.\n\n## Example usage\n\n```yaml\nuses: jandelgado/gcov2lcov-action@v1\nwith:\n  infile: coverage.out        # optional, default filename is `coverage.out`\n  outfile: coverage.lcov      # optional, default filename is `coverage.lcov`\n  version: v1.0.4             # optional, use specific `gcov2lcov` release version\n  working-directory: testdata # optional, change working directory\n```\n\n### Full example\n\n```yaml\ncoverage:\n  runs-on: ubuntu-latest\n  steps:\n    - name: Install Go\n      if: success()\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.18\n    - name: Checkout code\n      uses: actions/checkout@v2\n    - name: Calc coverage\n      run: go test -v -covermode=count -coverprofile=coverage.out\n    - name: Convert coverage to lcov\n      uses: jandelgado/gcov2lcov-action@v1\n    - name: Coveralls\n      uses: coverallsapp/github-action@v1.1.2\n      with:\n        github-token: ${{ secrets.github_token }}\n        path-to-lcov: coverage.lcov\n```\n\nSee also [example repository](https://github.com/jandelgado/golang-ci-template-github-actions).\n\n## Author\n\nCopyright \u0026copy; 2019 - 2022 Jan Delgado\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandelgado%2Fgcov2lcov-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjandelgado%2Fgcov2lcov-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandelgado%2Fgcov2lcov-action/lists"}