Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Oct 21, 2024
1 parent 6d29808 commit ab8c5f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
npm install typescript --save-dev;
npx tsc;
cd ..;
npm run ts-test -- --h 127.0.0.1 --port 3000" >> $GITHUB_ENV
npm run test dist/ -- --h 127.0.0.1 --port 3000" >> $GITHUB_ENV

# - name: Disable tests (only run basic import test)
# if: ${{ !inputs.run_tests }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
npm install typescript --save-dev;
npx tsc;
cd ..;
npm run ts-test dist/
npm run test dist/
test-lowest-supported-server:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
npm install typescript --save-dev;
npx tsc;
cd ..;
npm run ts-test dist/ -- --t 20000
npm run test dist/ -- --t 20000
test-ee:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
npm install typescript --save-dev;
npx tsc;
cd ..;
npm run ts-test dist/admin.js -- --h localhost --U admin --P admin --t 40000
npm run test dist/admin.js -- --h localhost --U admin --P admin --t 40000
test-valgrind:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@
"preinstall": "npm install @mapbox/node-pre-gyp",
"install": "npm run build",
"build": "node-pre-gyp install --fallback-to-build",
"test": "mocha test",
"ts-test": "rm -rf ts-test/dist; cd ts-test; npx tsc ; cp tests/udf.lua dist/udf.lua ; mocha",
"test": "rm -rf ts-test/dist; cd ts-test; npx tsc ; cp tests/udf.lua dist/udf.lua ; mocha",
"test-dry-run": "mocha --dry-run",
"test-noserver": "GLOBAL_CLIENT=false mocha -g '#noserver'",
"lint": "standard",
"posttest": "npm run lint",
"coverage": "nyc npm test && nyc --reporter=lcov report",
"codecov": "codecov",
"prepush": "npm test",
"prepush": "npm run test dist",
"apidocs": "jsdoc -c jsdoc.json",
"build-docs": "npx typedoc --plugin typedoc-plugin-rename-defaults --entryPointStrategy expand typings/index.d.ts",
"cppcheck": "cppcheck --quiet --enable=warning,style -I src/include src/main/",
Expand Down

0 comments on commit ab8c5f6

Please sign in to comment.