This commit is contained in:
Siarhei Fedartsou 2022-09-08 15:01:33 +02:00
parent 7a359fcf4a
commit 57c9b646fb
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ jobs:
- run: ls -R lib/binding
- name: Run node tests
run: |
set OSRM_BUILD_DIR=.\build\Release
set OSRM_BUILD_DIR=./build/Release
./lib/binding/osrm-datastore.exe test/data/ch/monaco.osrm
npm run nodejs-tests
npm test

View File

@ -22,6 +22,7 @@ module.exports = function () {
this.PROFILES_PATH = path.resolve(this.ROOT_PATH, 'profiles');
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');
console.log(`this.BIN_PATH = ${this.BIN_PATH}`);
this.DATASET_NAME = 'cucumber';
this.PLATFORM_WINDOWS = process.platform.match(/^win.*/);
this.DEFAULT_ENVIRONMENT = process.env;