From e8638cc416f4957f1ff2d3f4a18c8030beb7d754 Mon Sep 17 00:00:00 2001 From: Jonathan Putney Date: Wed, 13 Nov 2019 21:26:40 -0500 Subject: [PATCH] Working on test reporting --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 54ffba7..42ba901 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,12 +38,12 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - - run: mkdir reports dist docs || true + - run: mkdir reports dist docs test-results || true # Run mocha - run: name: npm test - command: ./node_modules/.bin/nyc ./node_modules/.bin/mocha --require @babel/register --recursive --timeout=10000 --exit --reporter mocha-junit-reporter --reporter-options mochaFile=reports/mocha/test-results.xml + command: ./node_modules/.bin/nyc ./node_modules/.bin/mocha --require @babel/register --recursive --timeout=10000 --exit --reporter mocha-junit-reporter --reporter-options mochaFile=test-results/mocha/results.xml when: always # Run eslint @@ -91,7 +91,7 @@ jobs: # Upload results - store_test_results: - path: ./reports/mocha/test-results.xml + path: test-results - store_artifacts: path: ./reports/mocha/test-results.xml