Skip to content

Commit

Permalink
ci: Collect test results
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jun 14, 2022
1 parent 5a67c13 commit 7f45aa4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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
Expand All @@ -409,7 +406,6 @@ jobs:
environment:
BUILD_TYPE: RelWithDebInfo
CMAKE_OPTIONS: -DSANITIZE=address
TESTS_FILTER: unittests
steps:
- run:
name: "Install System Dependencies"
Expand Down

0 comments on commit 7f45aa4

Please sign in to comment.