Added option to truncate completion label details to improve visibili… #2
Workflow file for this run
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: Code Coverage | |
on: | |
push: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- run: zig env | |
- name: Install kcov | |
run: | | |
wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz | |
sudo tar xf kcov-amd64.tar.gz -C / | |
- name: Run Tests with kcov | |
run: | | |
kcov --version | |
zig build test -Dgenerate_coverage --summary all | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: zig-out/coverage/kcov-merged | |
fail_ci_if_error: true | |
verbose: true |