diff options
author | Matthew Pickering <matthew.pickering@tweag.io> | 2018-05-03 12:35:22 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-03 12:35:23 -0400 |
commit | 1ad0277e4e7fb0e742cbf9b78e1ed41174864b22 (patch) | |
tree | e07873523dbb9477c6e337b96d25efda37d6b3e3 /.circleci | |
parent | 107d2cb7cc1e9c6d2226c3965e83a1b59d89ed04 (diff) | |
download | haskell-1ad0277e4e7fb0e742cbf9b78e1ed41174864b22.tar.gz |
CircleCI: Save test results as JUnit XML
Reviewers: mrkkrp, bgamari
Reviewed By: mrkkrp, bgamari
Subscribers: thomie, carter
GHC Trac Issues: #15093
Differential Revision: https://phabricator.haskell.org/D4646
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index bdbbff00f4..74b88b3b7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,7 +57,12 @@ aliases: - &test run: name: Test - command: make test SKIP_PERF_TESTS=YES + command: | + mkdir -p test-results + make test SKIP_PERF_TESTS=YES JUNIT_FILE=../../test-results/junit.xml + - &store_test_results + store_test_results: + path: test-results - &slowtest run: name: Full Test @@ -99,6 +104,7 @@ jobs: - *bindist - *storeartifacts - *test + - *store_test_results "validate-x86_64-freebsd": resource_class: xlarge @@ -118,6 +124,7 @@ jobs: - *bindist - *storeartifacts - *test + - *store_test_results "validate-x86_64-darwin": macos: @@ -139,6 +146,7 @@ jobs: - *bindist - *storeartifacts - *test + - *store_test_results "validate-hadrian-x86_64-linux": resource_class: xlarge @@ -168,6 +176,7 @@ jobs: - *configure_unreg - *make - *test + - *store_test_results "validate-x86_64-linux-llvm": resource_class: xlarge @@ -209,6 +218,7 @@ jobs: - *configure_unreg - *make - *test + - *store_test_results "validate-i386-linux": resource_class: xlarge @@ -227,6 +237,7 @@ jobs: - *bindist - *storeartifacts - *test + - *store_test_results "validate-x86_64-fedora": resource_class: xlarge @@ -245,6 +256,7 @@ jobs: - *bindist - *storeartifacts - *test + - *store_test_results workflows: version: 2 |