Content-Length: 298340 | pFad | https://github.com/actions-rs/tarpaulin

F7 GitHub - actions-rs/tarpaulin: πŸ“ˆ GitHub Action for code coverage reporting with tarpaulin
Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
/ tarpaulin Public archive

πŸ“ˆ GitHub Action for code coverage reporting with tarpaulin

License

Notifications You must be signed in to change notification settings

actions-rs/tarpaulin

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rust tarpaulin Action

MIT licensed Gitter

This GitHub Action installs and runs cargo-tarpaulin. It can be used to run tests with coverage tracing enabled, and optionally upload the code coverage reports to coveralls or codecov.

Example workflow

on: [push]

name: build

jobs:
  check:
    name: Rust project
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          override: true

      - name: Run cargo-tarpaulin
        uses: actions-rs/tarpaulin@v0.1
        with:
          version: '0.15.0'
          args: '-- --test-threads 1'

      - name: Upload to codecov.io
        uses: codecov/codecov-action@v1.0.2
        with:
          token: ${{secrets.CODECOV_TOKEN}}

      - name: Archive code coverage results
        uses: actions/upload-artifact@v1
        with:
          name: code-coverage-report
          path: cobertura.xml

See additional recipes here.

Inputs

Name Required Description Type Default
version The version of cargo-tarpaulin that will be installed. string latest
run-types The type of tests to run (Tests, or Doctests). Runs all by default. May be overridden by args. string
timeout The timeout, in seconds, before cancelling execution of a long running test. May be overriden by args. string
args Extra command line arguments that are passed to cargo-tarpaulin. string
out-type Output format of coverage report (Json, Toml,, Stdout, Xml, Html, Lcov]. Defaults to Xml string Xml








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/actions-rs/tarpaulin

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy