ci: test config file parsing

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-23 17:06:11 +00:00
parent b5be5e3cdd
commit a3f41bdc25
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 5 additions and 2 deletions

View File

@ -54,8 +54,11 @@ jobs:
- attach_workspace:
at: /tmp/workspace
- run:
name: test
command: ninja -vC /tmp/workspace/build test
name: unit test
command: ninja -vC build test
- run:
name: test config file parsing
command: xvfb-run -s "-screen 0 640x480x24" build/src/compton --config compton.sample.conf --vsync=none --diagnostics
- run:
name: generate coverage reports
command: cd build; find -name '*.gcno' -exec gcov -pb {} +