Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Merge pull request #46 from EspressoSystems/dependabot/github_actions… #10

Merge pull request #46 from EspressoSystems/dependabot/github_actions…

Merge pull request #46 from EspressoSystems/dependabot/github_actions… #10

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- main
- coverage
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repository
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Enable Rust Caching
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Generate code coverage
run: |
mkdir coverage
cargo llvm-cov --workspace --lcov --output-path ./coverage/lcov.info
timeout-minutes: 240
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}