Skip to content

Commit

Permalink
fix mocha test summaries in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard M. Miller committed Apr 23, 2020
1 parent 2ebecf9 commit abbe5ca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -92,9 +92,7 @@ jobs:
- checkout
- yarn_tests
- store_test_results:
path: ~/test
- store_artifacts:
path: ~/test
path: test/mocha

workflows:
version: 2.1
Expand Down

0 comments on commit abbe5ca

Please sign in to comment.