Skip to content

Commit

Permalink
storing artifacts, trying jest.testResultProfessor as array (only try…
Browse files Browse the repository at this point in the history
…ing, sonar worked so far, reporters added as jest.json)
  • Loading branch information
suculent committed Feb 15, 2022
1 parent 1a688a9 commit e5ea7e7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,19 @@ jobs:
docker network ls
docker network inspect bridge
- store_test_results:
name: Collect test results
path: ./src/coverage
# The `path` key is an absolute or relative path to your working_directory containing
# subdirectories of JUnit XML or Cucumber JSON test metadata files,
# or the path of a single file containing all test results.
# Make sure that your path value is not a hidden folder (example: .my_hidden_directory would be an invalid format).

- store_artifacts:
name: Collect coverage data
path: ./coverage
destination: jest-coverage

#
# WORKFLOWS
#
Expand Down
3 changes: 3 additions & 0 deletions jest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"reporters": [ "default", "jest-junit" ]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thinx",
"version": "1.5.29",
"version": "1.5.101",
"description": "THiNX IoT RTM API",
"bugs": {
"url": "https://github.com/suculent/thinx-device-api/issues"
Expand Down Expand Up @@ -166,6 +166,7 @@
"gulp-sourcemaps": "^2.6.5",
"jasmine": "^3.6.3",
"jasmine-core": "^3.6.0",
"jest-junit": "^13.0.0",
"karma": "^6.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
Expand Down

0 comments on commit e5ea7e7

Please sign in to comment.