Skip to content

Commit

Permalink
chore: skip test:leak on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Aug 26, 2019
1 parent abdfa53 commit df60af6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Expand Up @@ -28,3 +28,4 @@ jobs:
run: npm test
env:
CI: true
WINDOWS: true
22 changes: 14 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Expand Up @@ -32,7 +32,12 @@
"test": "npm run test:all",
"test:all": "npm run test:only && npm run test:typescript && npm run test:leak",
"test:coverage": "nyc --reporter html mocha",
"test:leak": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
"test:leak": {
"darwin": "npm run test:leak:nix",
"linux": "npm run test:leak:nix",
"win32": "echo 'Skipping test:leak on Windows'"
},
"test:leak:nix": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
"test:only": "mocha",
"test:quick": "mocha -b",
"test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
Expand Down Expand Up @@ -73,6 +78,7 @@
"codecov": "^3.5.0",
"console-group": "^0.3.3",
"core-js": "^3.2.1",
"cross-os": "^1.3.0",
"date-time": "^3.1.0",
"es5-shim": "^4.5.13",
"es6-shim": "^0.35.5",
Expand Down

0 comments on commit df60af6

Please sign in to comment.