This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
Add archive note to README #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: rust-toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
toolchain: nightly | |
profile: minimal | |
- name: Install LLVM tools | |
run: | | |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" | |
sudo ln -s /usr/bin/llvm-cov-13 /usr/bin/llvm-cov | |
sudo ln -s /usr/bin/llvm-profdata-13 /usr/bin/llvm-profdata | |
- name: Check Coverage | |
run: | | |
sh cov.sh --json | |
python3 .github/coverage.py cov.json |