Skip to content

Commit

Permalink
chore: test nimma only in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed May 26, 2020
1 parent fbd8f51 commit 8cad254
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ commands:
command: yarn build
- run:
name: Run browser tests
command: yarn test.karma
command: yarn test.karma && USE_NIMMA=true yarn test.karma
- run:
name: Run node tests
command: yarn test --coverage --maxWorkers=2
command: yarn test.jest --coverage --maxWorkers=2 && USE_NIMMA=true yarn test.jest --maxWorkers=2
- run:
name: Create the Spectral Binary
command: yarn build.binary
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@
"schema.update": "yarn typescript-json-schema --id \"http://stoplight.io/schemas/rule.schema.json\" --required tsconfig.json IRule --out ./src/meta/rule.schema.json",
"test.harness": "jest -c ./jest.harness.config.js",
"test.karma": "karma start",
"test.jest": "jest --silent",
"test": "yarn test.karma && yarn test.jest --coverage --maxWorkers=2",
"test.prod": "yarn build && yarn lint && yarn test && cross-env USE_NIMMA=true yarn test",
"test.prod": "yarn build && yarn lint && yarn test.karma && yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch"
"test.watch": "yarn test --watch",
"test": "jest --silent"
},
"resolutions": {
"prettier": "^2.0.2"
Expand Down Expand Up @@ -107,7 +106,6 @@
"@types/tmp": "^0.2.0",
"@types/xml2js": "^0.4.5",
"copyfiles": "^2.2.0",
"cross-env": "^7.0.2",
"dependency-graph": "^0.8.0",
"fetch-mock": "^7.7.3",
"glob-fs": "^0.1.7",
Expand Down
16 changes: 0 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1945,13 +1945,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

cross-env@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
dependencies:
cross-spawn "^7.0.1"

cross-spawn@^6.0.0:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -1972,15 +1965,6 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0"
which "^2.0.1"

cross-spawn@^7.0.1:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
which "^2.0.1"

crypto-browserify@^3.12.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
Expand Down

0 comments on commit 8cad254

Please sign in to comment.