diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 80b8088b..6b761f6e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -24,7 +24,7 @@ jobs: cd build sudo ninja -C . install - example_build: + examples: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 @@ -44,7 +44,7 @@ jobs: cd build sudo ninja -C . install - test_build: + unit_test: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 @@ -68,3 +68,8 @@ jobs: meson . build -Dtests=true --errorlogs cd build sudo ninja -C . install test + + - uses: actions/upload-artifact@v2 + with: + name: UnitTestReport + path: build/meson-logs/testlog.txt diff --git a/test/meson.build b/test/meson.build index f4cfcf6a..ab0b7f5a 100644 --- a/test/meson.build +++ b/test/meson.build @@ -10,7 +10,7 @@ tests = executable('tvgUnitTests', include_directories : headers, link_with : thorvg_lib) -test('Unit Tests', tests) +test('Unit Tests', tests, args : ['--success']) if get_option('bindings').contains('capi') == true subdir('capi')