Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
XDG_RUNTIME_DIR: /tmp
run: |
glib-compile-schemas src/setup --targetdir=build/bin
weston --no-config --socket=wl-headless --backend=headless &
WAYLAND_DISPLAY=wl-headless ctest --test-dir build --verbose
weston -Bheadless -- ctest --test-dir build --verbose

build-meson:
runs-on: ubuntu-latest
Expand All @@ -54,8 +53,7 @@ jobs:
env:
XDG_RUNTIME_DIR: /tmp
run: |
weston --no-config --socket=wl-headless --backend=headless &
WAYLAND_DISPLAY=wl-headless meson test -C build --print-errorlogs
weston -Bheadless -- meson test -C build --print-errorlogs

coverage:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -93,8 +91,7 @@ jobs:
run: |
source "$HOME/.cargo/env"
glib-compile-schemas src/setup --targetdir=build/bin
weston --no-config --socket=wl-headless --backend=headless &
WAYLAND_DISPLAY=wl-headless ctest --test-dir build --verbose
weston -Bheadless -- ctest --test-dir build --verbose
./grcov . -s . -b . --keep-only 'src/*' --llvm -t lcov -o coverage.lcov

- name: Upload coverage reports to Codecov
Expand All @@ -121,8 +118,7 @@ jobs:
env:
XDG_RUNTIME_DIR: /tmp
run: |
weston --no-config --socket=wl-headless --backend=headless &
WAYLAND_DISPLAY=wl-headless meson test -C build --print-errorlogs
weston -Bheadless -- meson test -C build --print-errorlogs
ninja -C build coverage-xml

- name: Upload coverage reports to Codecov
Expand Down