Skip to content

Commit

Permalink
adjust Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Jun 4, 2023
1 parent dc8b411 commit aff600b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ test-cov: istanbul coveralls


istanbul:
npx nyc@15 --exclude="_generated_opcua_types.ts" \
npx -y nyc@15 --exclude="_generated_opcua_types.ts" \
--exclude="packages/node-opcua-*/test/**/*.js" \
--exclude="packages/node-opcua-*/test/**/*.ts" \
--exclude-after-remap=false \
--exclude="./packages/node-opcua-types/**/*.*" \
--exclude="./packages/node-opcua-utils/**/*.*" \
--cwd=. node -r source-map-support/register --max_old_space_size=16384 ./packages/run_all_mocha_tests.js
--cwd=. node -r source-map-support/register --max_old_space_size=8192 ./packages/run_all_mocha_tests.js

coveralls:
npx nyc@15 report --cwd=. \
npx -y nyc@15 report --cwd=. \
--include="packages/node-opcua*/dist/**/*.js" \
--exclude-after-remap=false \
--cwd=. \
--reporter=text-lcov \
| npx coveralls --exclude tmp

Expand All @@ -24,7 +30,8 @@ istanbul-old:
--exclude="_generated_opcua_types.ts" \
--exclude="packages/node-opcua-types/**/*.*" \
--exclude="packages/node-opcua-utils/**/*.*" \
--cwd=. node -max_old_space_size=8192 packages/run_all_mocha_tests.js
--cwd=. node -max_old_space_size=8192 ./packages/run_all_mocha_tests.js

coveralls-old: istanbul-old
npx nyc@14 report --source-map \
--include="packages/node-opcua*/dist/**/*.js" \
Expand Down

0 comments on commit aff600b

Please sign in to comment.