{"id":13410750,"url":"https://github.com/mydea/ember-cli-code-coverage-action","last_synced_at":"2025-03-14T16:33:00.757Z","repository":{"id":52670865,"uuid":"217503431","full_name":"mydea/ember-cli-code-coverage-action","owner":"mydea","description":"Comment with the diff for the asset sizes on Pull Request","archived":false,"fork":true,"pushed_at":"2021-04-21T15:49:03.000Z","size":1280,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-14T14:03:41.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mainmatter/ember-asset-size-action","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mydea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-25T09:48:45.000Z","updated_at":"2022-07-02T16:41:30.000Z","dependencies_parsed_at":"2023-01-11T17:23:14.506Z","dependency_job_id":null,"html_url":"https://github.com/mydea/ember-cli-code-coverage-action","commit_stats":{"total_commits":34,"total_committers":5,"mean_commits":6.8,"dds":0.5294117647058824,"last_synced_commit":"4d49818fff56371e4fdacdfbb1c00573f4cdda01"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mydea%2Fember-cli-code-coverage-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mydea%2Fember-cli-code-coverage-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mydea%2Fember-cli-code-coverage-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mydea%2Fember-cli-code-coverage-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mydea","download_url":"https://codeload.github.com/mydea/ember-cli-code-coverage-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243610452,"owners_count":20318964,"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-07-30T20:01:08.901Z","updated_at":"2025-03-14T16:33:00.230Z","avatar_url":"https://github.com/mydea.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# ember-cli-code-coverage action\n\nThis action will calculate the code coverage for each PR. It will then comment with the change in coverage on each PR.\n\n## Example usage\n\nCreate a file named `.github/workflows/ember-code-coverage.yml` in your repo and add the following:\n\n```yaml\nname: ember-cli-code-coverage\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@master\n    - uses: mydea/actions-ember-testing@v1\n    - name: Install dependencies\n      run: yarn install\n    - uses: mydea/ember-cli-code-coverage-action@v1\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n```\n\nNote that the `GITHUB_TOKEN` secret is automatically available, so you don't need to do anything else about that.\n\n\n## Setting up\n\n-------------------\n\n**`repo-token`** **required**\n\nToken to post statuses and comments on yore repo. Note that the `GITHUB_TOKEN` secret is automatically available, so you don't need to do anything else about that.\n\n-------------------\n\n**`test-command`** *optional*\n(default: `yarn test-coverage`)\n\nThe command to run your tests.\nEither you add something like this: `\"test-coverage\": \"COVERAGE=true ember test\"` to your package.json file, or you can specify a custom test command.\n\n-------------------\n\n**`coverage-file`** *optional*\n(default: `./coverage/coverage-summary.json`)\n\nThe location of coverage summary.json file.\n\n-------------------\n\n**`coverage-indicator`** *optional*\n(default: `statements`)\n\nThe coverage type to use. One of: `statements`, `lines`, `functions`, `branches`.\n\n-------------------\n\n**`working-directory`** *optional*\n(default: `./`)\n\nEmber app directory.\n\n-------------------\n\n**`message`** *optional*\n(default: `Test coverage: **{testCoverage}%**`)\n\nMessage title that will be used when posting status on PR comments section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmydea%2Fember-cli-code-coverage-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmydea%2Fember-cli-code-coverage-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmydea%2Fember-cli-code-coverage-action/lists"}