Skip to content

Commit f4094ed

Browse files
committed
CI: Run tests and lint tests
1 parent 6728997 commit f4094ed

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- synchronize
99

1010
jobs:
11-
build:
11+
build and test:
1212

1313
runs-on: ubuntu-22.04
1414

@@ -36,9 +36,12 @@ jobs:
3636
env:
3737
DESTDIR: out
3838
run: |
39-
meson build -Ddocumentation=true
39+
meson build -Ddocumentation=true -Dtests=true
4040
ninja -C build
4141
ninja -C build install
42+
- name: Run Tests
43+
run: |
44+
meson test -v -C build
4245
4346
fedora:
4447
runs-on: ubuntu-latest
@@ -93,3 +96,4 @@ jobs:
9396
io.elementary.vala-lint -d lib
9497
io.elementary.vala-lint -d plugins
9598
io.elementary.vala-lint -d src
99+
io.elementary.vala-lint -d tests

0 commit comments

Comments
 (0)