diff --git a/.circleci/config.yml b/.circleci/config.yml index 657694783b..d311d8bf6f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -984,6 +984,7 @@ jobs: command: npm install - run: name: Running acceptance tests + no_output_timeout: 30m command: | << parameters.pre_test_cmds >> npm run test:acceptance -- --selectProjects coreCli @@ -991,6 +992,11 @@ jobs: TEST_SNYK_FIPS: << parameters.fips >> TEST_SNYK_COMMAND: << parameters.test_snyk_command >> TEST_SNYK_DONT_SKIP_ANYTHING: << parameters.dont_skip_tests >> + JEST_JUNIT_OUTPUT_DIR: test/reports + - store_test_results: + path: test/reports + - store_artifacts: + path: test/reports regression-tests: parameters: diff --git a/package.json b/package.json index 1129bf37c7..5084db0288 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "watch": "npm run build-cli:dev -- --watch", "test": "npm run test:unit && npm run test:acceptance && npm run test:tap", "test:unit": "jest --runInBand --testPathPattern '/test(/jest)?/unit/' --reporters=jest-junit", - "test:acceptance": "jest --runInBand --testPathPattern \"/test(/jest)?/acceptance/\"", + "test:acceptance": "jest --runInBand --testPathPattern \"/test(/jest)?/acceptance/\" --reporters=jest-junit", "test:tap": "tap -Rspec --timeout=300 test/tap/*.test.* ", "test:smoke": "./scripts/run-smoke-tests-locally.sh", "dev": "ts-node ./src/cli/index.ts"