From 544aed75ddfa346604e6a4a36a260ccf65ead631 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Wed, 7 Aug 2019 11:09:09 +0200 Subject: [PATCH] chore(circleci): track test results (#4261) --- .circleci/config.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 53d415fafa..8335322b0b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,8 @@ commands: - run: name: Lint command: | - yarn lint + yarn eslint --format junit -o reports/junit/js-lint-results.xml + yarn prettier yarn test-schema yarn type-check @@ -42,7 +43,14 @@ commands: - run: name: Unit Tests command: | - yarn jest --runInBand + yarn jest --runInBand --ci --reporters=default --reporters=jest-junit + environment: + JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml' + + - store_test_results: + path: reports/junit + - store_artifacts: + path: reports/junit - run: name: E2E Tests -- GitLab