Skip to content

[WEEKLY RELEASE] HotShot - rc-0.5.78 #126

[WEEKLY RELEASE] HotShot - rc-0.5.78

[WEEKLY RELEASE] HotShot - rc-0.5.78 #126

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
- release-*
pull_request:
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v15
# If PR is from a non-collaborator (e.g. dependabot) the secrets are missing and the login to cachix fails.
continue-on-error: true
with:
name: espresso-systems-private
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
extraPullNames: nix-community
skipPush: ${{ github.actor == 'dependabot[bot]' }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Generate coverage reports
run: |
git config --global --add safe.directory "$PWD"
nix develop .#perfShell -c \
cargo llvm-cov --profile=release --all-features --all-targets \
--lcov --output-path lcov.info --no-cfg-coverage \
-- --test-threads 2
- uses: coverallsapp/github-action@master
with:
path-to-lcov: lcov.info