From 8cc8453ec8ce19907ff4030fdf2b1fae3e23c9ce Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Fri, 8 Sep 2017 13:37:57 -0400 Subject: [PATCH] BUG: Fix CircleCI command to upload test results The store_test_results command specifies a path to upload at that time, so the step must occur after the juint tests formatter is run. Change-Id: Idaaf68c9213981c8babcb21319d957d6075a491a --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a6b4463cb2..4f8403b0d36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,8 +17,6 @@ jobs: DASHBOARD_BRANCH_DIRECTORY: /home/circleci/ITK-dashboard ExternalData_OBJECT_STORES: /home/circleci/.ExternalData steps: - - store_test_results: - path: /tmp/test-results - checkout: path : ~/ITK - run: @@ -51,4 +49,7 @@ jobs: command: | env mkdir -p /tmp/test-results/CTest - ci_addons ctest_junit_formatter ${CTEST_BINARY_DIRECTORY} > /tmp/test-results/CTest/JUnit-${CIRCLE_NODE_INDEX}.xml + ci_addons ctest_junit_formatter ${CTEST_BINARY_DIRECTORY} > /tmp/test-results/JUnit-${CIRCLE_NODE_INDEX}.xml + - store_test_results: + path: /tmp/test-results + destination: ctest