{"id":20414544,"url":"https://github.com/codecov/example-perl","last_synced_at":"2025-04-12T16:50:41.793Z","repository":{"id":36101953,"uuid":"40403363","full_name":"codecov/example-perl","owner":"codecov","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-22T20:55:23.000Z","size":28,"stargazers_count":24,"open_issues_count":1,"forks_count":10,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-11T15:10:25.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/codecov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-08-08T13:16:02.000Z","updated_at":"2024-08-28T13:16:19.000Z","dependencies_parsed_at":"2024-01-22T22:14:28.733Z","dependency_job_id":"09d16bb1-103f-4a8e-ad20-77fa887aa087","html_url":"https://github.com/codecov/example-perl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-perl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-perl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-perl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-perl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/example-perl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601218,"owners_count":21131607,"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":[],"created_at":"2024-11-15T06:11:00.279Z","updated_at":"2025-04-12T16:50:41.753Z","avatar_url":"https://github.com/codecov.png","language":"Perl","readme":"# [Codecov](https://codecov.io) Perl example\n\n[![Build Status](https://travis-ci.org/codecov/example-clojure.svg?branch=master)](https://travis-ci.org/codecov/example-clojure)\n[![codecov.io](https://codecov.io/github/codecov/example-clojure/coverage.svg?branch=master)](https://codecov.io/github/codecov/example-clojure?branch=master)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-perl.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-perl?ref=badge_shield)\n\n## Guide\n### CI Setup\n\n#### [![circleci](https://avatars0.githubusercontent.com/u/1231870?v=2\u0026s=50)](https://circleci.com/) Circle CI (1.0)\n\u003e Append to your `circle.yml` file\n\n```yml\nmachine:\n  environment:\n    PATH: ~/perl5/bin:$PATH\n\ndependencies:\n  pre:\n    - curl -L https://cpanmin.us | perl - App::cpanminus\n    - cpanm --local-lib=~/perl5 local::lib \u0026\u0026 echo \"eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)\" \u003e\u003e ~/.bashrc\n    - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov\n\ntest:\n  override:\n    - perl Build.PL\n    - ./Build build\n    - cover -test\n\n  post:\n    - cover -report codecov\n```\n\n#### [![codeship](https://avatars1.githubusercontent.com/u/2988541?v=2\u0026s=50)](https://codeship.io/) Codeship\n\u003e Append to your `Setup Commands`\n\n```sh\ncurl -L https://cpanmin.us | perl - App::cpanminus\nexport PATH=~/perl5/bin:$PATH\ncpanm --local-lib=~/perl5 local::lib \u0026\u0026 eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)\ncpanm --quiet --installdeps --notest .\ncpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov\n```\n\n\u003e Append to your `Test Commands`\n\n```sh\nperl Build.PL\n./Build build\ncover -test -report codecov\n```\n\n#### Travis\nAdd to your `.travis.yml` file.\n```yml\nlanguage: perl\n\nbefore_script:\n  - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov\n\nscript:\n  - perl Build.PL\n  - ./Build build\n  - cover -test\n\nafter_success:\n  - cover -report codecov\n```\n\n#### GitHub Action\n\nAdd to your `.github/workflows/main.yml` file\n```yml\njobs:\n  codecov:\n    runs-on: ubuntu-latest\n    container: perl:latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run codecov GitHub Action\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        run: |\n          cpanm --quiet --notest Module::Build Devel::Cover Devel::Cover::Report::Codecovbash\n          perl Build.PL \n          cover -test -report codecov\n```\n\nNote that you need to link your GitHub repo to your codecov first and then add the `CODECOV_TOKEN` as a secret to your GitHub repository.\n\n### Producing Coverage Reports\n```\ncover -report codecov\n```\n\n\n## Caveats\n### Private Repos\nRepository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t \u003cyour upload token\u003e` to you where you upload reports.\n\n## Links\n- [Community Boards](https://community.codecov.io)\n- [Support](https://codecov.io/support)\n- [Documentation](https://docs.codecov.io)\n\n## License\nMIT.\n\nOriginally authored by [Jakub Elżbieciak](https://elzbieciak.pl/).\n\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-perl.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-perl?ref=badge_large)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fexample-perl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fexample-perl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fexample-perl/lists"}