Skip to content

Reusable workflow for running cargo test with coverage

Notifications You must be signed in to change notification settings

evalf/workflow-cargo-test

Repository files navigation

Reusable workflow for running cargo test with coverage

Usage:

jobs:
  test:
    uses: evalf/workflow-cargo-test/.github/workflows/test.yaml@release/1
    with:
      # Test matrix as JSON. Used keys are `rust-toolchain` and cargo `features`. (optional)
      matrix: '{"rust-toolchain": ["stable", "beta"], "features": [""]}'
      # Check code formatting. (optional)
      check-fmt: true
      # Name of the coverage artifact. (optional)
      artifact: 'coverage'

About

Reusable workflow for running cargo test with coverage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages