Skip to content

Merge pull request #4 from tari-project/dependabot/github_actions/act… #14

Merge pull request #4 from tari-project/dependabot/github_actions/act…

Merge pull request #4 from tari-project/dependabot/github_actions/act… #14

Workflow file for this run

name: Source Coverage
on:
push:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y jq lcov
- name: Download Rust
uses: actions-rs/toolchain@v1
- name: Install llvm-tools
run: |
rustup component add llvm-tools-preview
cargo install cargo-binutils
cargo install rustfilt
- name: Run test coverage
id: coverage
env:
SKIP_HTML: '1'
run: |
/bin/bash -c ./test_coverage.sh
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./cov_raw/tari_crypto.lcov