{"id":13672745,"url":"https://github.com/actions-rs/tarpaulin","last_synced_at":"2025-04-27T22:32:52.069Z","repository":{"id":46346141,"uuid":"209032870","full_name":"actions-rs/tarpaulin","owner":"actions-rs","description":"📈 GitHub Action for code coverage reporting with tarpaulin ","archived":true,"fork":false,"pushed_at":"2023-02-04T11:21:38.000Z","size":931,"stargazers_count":91,"open_issues_count":12,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T21:45:23.366Z","etag":null,"topics":["code-coverage","coverage","github","github-actions","rust","rust-lang","tarpaulin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/actions-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://svartalf.info/donate/"}},"created_at":"2019-09-17T11:13:16.000Z","updated_at":"2025-03-16T00:42:18.000Z","dependencies_parsed_at":"2023-02-18T15:55:16.127Z","dependency_job_id":null,"html_url":"https://github.com/actions-rs/tarpaulin","commit_stats":{"total_commits":10,"total_committers":5,"mean_commits":2.0,"dds":0.4,"last_synced_commit":"044a1e5bdace8dd2f727b1af63c1d9a1d3572068"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-rs%2Ftarpaulin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-rs%2Ftarpaulin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-rs%2Ftarpaulin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-rs%2Ftarpaulin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions-rs","download_url":"https://codeload.github.com/actions-rs/tarpaulin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251219600,"owners_count":21554444,"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":["code-coverage","coverage","github","github-actions","rust","rust-lang","tarpaulin"],"created_at":"2024-08-02T09:01:46.135Z","updated_at":"2025-04-27T22:32:47.057Z","avatar_url":"https://github.com/actions-rs.png","language":"TypeScript","funding_links":["https://svartalf.info/donate/"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Rust `tarpaulin` Action\n\n![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)\n[![Gitter](https://badges.gitter.im/actions-rs/community.svg)](https://gitter.im/actions-rs/community)\n\nThis GitHub Action installs and runs [cargo-tarpaulin](https://github.com/xd009642/tarpaulin).\nIt can be used to run tests with coverage tracing enabled, and optionally upload the code coverage reports to coveralls or codecov.\n\n## Example workflow\n\n```yaml\non: [push]\n\nname: build\n\njobs:\n  check:\n    name: Rust project\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Install stable toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n          override: true\n\n      - name: Run cargo-tarpaulin\n        uses: actions-rs/tarpaulin@v0.1\n        with:\n          version: '0.15.0'\n          args: '-- --test-threads 1'\n\n      - name: Upload to codecov.io\n        uses: codecov/codecov-action@v1.0.2\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n\n      - name: Archive code coverage results\n        uses: actions/upload-artifact@v1\n        with:\n          name: code-coverage-report\n          path: cobertura.xml\n```\n\nSee [additional recipes here](https://github.com/actions-rs/meta).\n\n## Inputs\n\n| Name        | Required | Description                                                                                              | Type   | Default |\n| ------------| :------: | ---------------------------------------------------------------------------------------------------------| ------ | --------|\n| `version`   |          | The version of `cargo-tarpaulin` that will be installed.                                                 | string | latest  |\n| `run-types` |          | The type of tests to run (`Tests`, or `Doctests`). Runs all by default. May be overridden by `args`.     | string |         |\n| `timeout`   |          | The timeout, in seconds, before cancelling execution of a long running test. May be overriden by `args`. | string |         |\n| `args`      |          | Extra command line arguments that are passed to `cargo-tarpaulin`.                                       | string |         |\n| `out-type`  |          | Output format of coverage report (`Json`, `Toml,`, `Stdout`, `Xml`, `Html`, `Lcov`]. Defaults to `Xml`   | string | Xml     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-rs%2Ftarpaulin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions-rs%2Ftarpaulin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-rs%2Ftarpaulin/lists"}