wip
This commit is contained in:
parent
896114680c
commit
217087f700
1
.github/workflows/osrm-backend.yml
vendored
1
.github/workflows/osrm-backend.yml
vendored
@ -45,6 +45,7 @@ jobs:
|
|||||||
- run: ls -R build
|
- run: ls -R build
|
||||||
- name: Run node tests
|
- name: Run node tests
|
||||||
run: |
|
run: |
|
||||||
|
set OSRM_BUILD_DIR=.\build\Release
|
||||||
npm run nodejs-tests
|
npm run nodejs-tests
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ module.exports = function () {
|
|||||||
|
|
||||||
this.PROFILES_PATH = path.resolve(this.ROOT_PATH, 'profiles');
|
this.PROFILES_PATH = path.resolve(this.ROOT_PATH, 'profiles');
|
||||||
this.FIXTURES_PATH = path.resolve(this.ROOT_PATH, 'unit_tests/fixtures');
|
this.FIXTURES_PATH = path.resolve(this.ROOT_PATH, 'unit_tests/fixtures');
|
||||||
this.BIN_PATH = process.env.OSRM_BUILD_DIR && process.env.OSRM_BUILD_DIR || path.resolve(this.ROOT_PATH, 'build/Release');
|
this.BIN_PATH = process.env.OSRM_BUILD_DIR && process.env.OSRM_BUILD_DIR || path.resolve(this.ROOT_PATH, 'build');
|
||||||
this.DATASET_NAME = 'cucumber';
|
this.DATASET_NAME = 'cucumber';
|
||||||
this.PLATFORM_WINDOWS = process.platform.match(/^win.*/);
|
this.PLATFORM_WINDOWS = process.platform.match(/^win.*/);
|
||||||
this.DEFAULT_ENVIRONMENT = process.env;
|
this.DEFAULT_ENVIRONMENT = process.env;
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
"clean": "rm -rf test/cache",
|
"clean": "rm -rf test/cache",
|
||||||
"docs": "./scripts/build_api_docs.sh",
|
"docs": "./scripts/build_api_docs.sh",
|
||||||
"install": "node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh",
|
"install": "node-pre-gyp install --fallback-to-build=false || ./scripts/node_install.sh",
|
||||||
"nodejs-tests": "test/nodejs/index.js | faucet"
|
"nodejs-tests": "node test/nodejs/index.js | faucet"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user