Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Jun 26, 2024
1 parent 4f1346d commit 7069011
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,27 @@ jobs:
with:
version: ${{ env.ZIG_VERSION }}

- name: Install kcov
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
xterm xfonts-base
- name: Install kcov
run: |
sudo apt-get install -y kcov
if: "!startsWith(github.ref, 'refs/tags/')"

- name: Start xvfb
run: |
Xvfb -screen 0 80x24x24 \
-display :99 &
- name: Generate coverage
run: |
xvfb-run zig build coverage --summary all
xterm -display :99 -u8 -geometry \
80x24+0+0 -e \
"zig build coverage --summary all"
- name: Upload coverage
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 7069011

Please sign in to comment.