diff --git a/.circleci/config.yml b/.circleci/config.yml index 2ccb485f..30f5cc7e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,14 +32,14 @@ jobs: - run: name: upload-test-report command: | - ./cc-test-reporter after-build -t lcov -p /home/circleci/code-gov-api/build --exit-code $? + ./cc-test-reporter after-build -t lcov --exit-code $? - store_test_results: - path: build/test-results/results.xml + path: test-results/results.xml - store_artifacts: path: test-results.xml prefix: tests - store_artifacts: - path: build/coverage + path: coverage prefix: coverage # Install Cloud Foundry cli (cf) before deploy step. cf is used to push project to Cloud.gov diff --git a/.nycrc b/.nycrc index 255a116e..84109d39 100644 --- a/.nycrc +++ b/.nycrc @@ -2,7 +2,7 @@ "exclude": [ "test/**/*.js" ], - "report-dir": "./build/coverage", + "report-dir": "./coverage", "reporter": [ "lcov" ] diff --git a/test/mocha.opts b/test/mocha.opts index 0047c3c4..306bcdb5 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,3 +1,3 @@ --reporter mocha-junit-reporter --recursive ---reporter-options mochaFile=./build/test-results/results.xml \ No newline at end of file +--reporter-options mochaFile=./test-results/results.xml \ No newline at end of file