feat: add userdata management to components #177
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: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-4-dev kcov xvfb | |
- name: Install Zig | |
uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.14.0-dev.1911+3bf89f55c | |
- name: Test Coverage Capy for native | |
run: xvfb-run -a zig build coverage | |
env: | |
NO_AT_BRIDGE: 1 | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
name: code-coverage-report | |
directory: kcov-output | |
fail_ci_if_error: true | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} |