From 7f45aa44767c0783c061a39ea2a20fe0787d2dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 14 Jun 2022 15:32:54 +0200 Subject: [PATCH] ci: Collect test results --- circle.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/circle.yml b/circle.yml index bf0c2cad3c..08048b9b3f 100644 --- a/circle.yml +++ b/circle.yml @@ -167,7 +167,9 @@ commands: - run: name: "Test" working_directory: ~/build - command: ctest -R ${TESTS_FILTER:-'.*'} --schedule-random --output-on-failure --parallel $CMAKE_BUILD_PARALLEL_LEVEL + command: ctest -R ${TESTS_FILTER:-'.*'} --schedule-random --output-on-failure --parallel $CMAKE_BUILD_PARALLEL_LEVEL --output-junit ~/test_results/evmone.xml + - store_test_results: + path: ~/test_results collect_coverage_gcc: description: "Collect coverage data (GCC)" @@ -378,12 +380,7 @@ jobs: TESTS_FILTER: unittests|integration steps: - build - # TODO: use `test` command - - run: - name: "Run unit tests" - working_directory: ~/build - command: | - bin/evmone-unittests + - test - run: name: "Coverage report" working_directory: ~/build @@ -409,7 +406,6 @@ jobs: environment: BUILD_TYPE: RelWithDebInfo CMAKE_OPTIONS: -DSANITIZE=address - TESTS_FILTER: unittests steps: - run: name: "Install System Dependencies"