Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit a9a7496

Browse files
Update CI test script (#195)
1 parent 89e78bc commit a9a7496

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"eslint-plugin-notice": "0.6.7",
4343
"eslint-plugin-sonarjs": "0.5.0",
4444
"jest": "26.6.3",
45+
"jest-sonar-reporter": "2.0.0",
4546
"lint-staged": "7.3.0",
4647
"lodash": "4.17.19",
4748
"minimist": "1.2.3",

scripts/test-ci.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ set -euo pipefail
66
# this is required for sonarcloud analysis
77
if [ "${TRAVIS_NODE_VERSION}" = "10" ]; then
88
echo 'Running tests with coverage and reporter'
9-
# install `jest-sonar-reporter` here, because otherwise `yarn install` fails on nodejs
10-
119
yarn test --coverage --testResultsProcessor jest-sonar-reporter
1210
else
1311
echo 'Running tests'

yarn.lock

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,9 @@
570570
integrity sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==
571571

572572
"@types/graceful-fs@^4.1.2":
573-
version "4.1.4"
574-
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.4.tgz#4ff9f641a7c6d1a3508ff88bc3141b152772e753"
575-
integrity sha512-mWA/4zFQhfvOA8zWkXobwJvBD7vzcxgrOQ0J5CH1votGqdq9m7+FwtGaqyCZqC3NyyBkc9z4m+iry4LlqcMWJg==
573+
version "4.1.5"
574+
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
575+
integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==
576576
dependencies:
577577
"@types/node" "*"
578578

@@ -618,7 +618,12 @@
618618
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6"
619619
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
620620

621-
"@types/node@*", "@types/[email protected]":
621+
"@types/node@*":
622+
version "14.14.26"
623+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.26.tgz#e40df24c957568f350cca04e63bfb1e1556d1cbf"
624+
integrity sha512-skWxepWOs+VArEBWd2S/VR3wUavioIIx9/HzW+UJiIjtwa6+kNXdsOeq7FfxDXf56hIcL0ieo2brwMgBJ1+lhw==
625+
626+
622627
version "14.14.25"
623628
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.25.tgz#15967a7b577ff81383f9b888aa6705d43fbbae93"
624629
integrity sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==
@@ -745,9 +750,9 @@ ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4:
745750
uri-js "^4.2.2"
746751

747752
ajv@^7.0.2:
748-
version "7.0.4"
749-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-7.0.4.tgz#827e5f5ae32f5e5c1637db61f253a112229b5e2f"
750-
integrity sha512-xzzzaqgEQfmuhbhAoqjJ8T/1okb6gAzXn/eQRNpAN1AEUoHJTNF9xCDRTtf/s3SKldtZfa+RJeTs+BQq+eZ/sw==
753+
version "7.1.0"
754+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-7.1.0.tgz#f982ea7933dc7f1012eae9eec5a86687d805421b"
755+
integrity sha512-svS9uILze/cXbH0z2myCK2Brqprx/+JJYK5pHicT/GQiBfzzhUVAIT6MwqJg8y4xV/zoGsUeuPuwtoiKSGE15g==
751756
dependencies:
752757
fast-deep-equal "^3.1.1"
753758
json-schema-traverse "^1.0.0"
@@ -2401,7 +2406,7 @@ is-ci@^2.0.0:
24012406
dependencies:
24022407
ci-info "^2.0.0"
24032408

2404-
is-core-module@^2.1.0:
2409+
is-core-module@^2.2.0:
24052410
version "2.2.0"
24062411
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
24072412
integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==
@@ -2990,6 +2995,13 @@ jest-snapshot@^26.6.2:
29902995
pretty-format "^26.6.2"
29912996
semver "^7.3.2"
29922997

2998+
2999+
version "2.0.0"
3000+
resolved "https://registry.yarnpkg.com/jest-sonar-reporter/-/jest-sonar-reporter-2.0.0.tgz#faa54a7d2af7198767ee246a82b78c576789cf08"
3001+
integrity sha512-ZervDCgEX5gdUbdtWsjdipLN3bKJwpxbvhkYNXTAYvAckCihobSLr9OT/IuyNIRT1EZMDDwR6DroWtrq+IL64w==
3002+
dependencies:
3003+
xml "^1.0.1"
3004+
29933005
jest-util@^26.1.0, jest-util@^26.6.2:
29943006
version "26.6.2"
29953007
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1"
@@ -4164,11 +4176,11 @@ resolve-url@^0.2.1:
41644176
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
41654177

41664178
resolve@^1.10.0, resolve@^1.11.0, resolve@^1.13.1, resolve@^1.18.1:
4167-
version "1.19.0"
4168-
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
4169-
integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==
4179+
version "1.20.0"
4180+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
4181+
integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==
41704182
dependencies:
4171-
is-core-module "^2.1.0"
4183+
is-core-module "^2.2.0"
41724184
path-parse "^1.0.6"
41734185

41744186
restore-cursor@^2.0.0:
@@ -5051,6 +5063,11 @@ xml-name-validator@^3.0.0:
50515063
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
50525064
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
50535065

5066+
xml@^1.0.1:
5067+
version "1.0.1"
5068+
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
5069+
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=
5070+
50545071
xmlchars@^2.2.0:
50555072
version "2.2.0"
50565073
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"

0 commit comments

Comments
 (0)