From abbe5ca6ed5f30bb0dcc1405951e4ed76742f1be Mon Sep 17 00:00:00 2001 From: "Howard M. Miller" Date: Thu, 23 Apr 2020 18:05:22 -0400 Subject: [PATCH] fix mocha test summaries in CircleCI --- .circleci/config.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fca095c4e..0b62a7b78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,7 @@ commands: set -euxo pipefail bundle config path .bundle bin/rails db:setup - bin/rspec --format progress --format RspecJunitFormatter -o ~/rspec/rspec.xml + bin/rspec --format progress --format RspecJunitFormatter -o ~/test/rspec.xml yarn_tests: description: "Run the Mocha test suite" steps: @@ -55,7 +55,7 @@ commands: name: "Run the Mocha Test Suite" command: yarn test --reporter mocha-junit-reporter environment: - MOCHA_FILE: ~/test/test-results.xml + MOCHA_FILE: test/mocha/test-results.xml jobs: bundle: @@ -92,9 +92,7 @@ jobs: - checkout - yarn_tests - store_test_results: - path: ~/test - - store_artifacts: - path: ~/test + path: test/mocha workflows: version: 2.1