Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
DomPeliniAerospike committed Oct 17, 2024
1 parent 306d891 commit e8739b5
Showing 2 changed files with 24 additions and 6 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
@@ -141,7 +141,16 @@ jobs:

- name: Run Aerospike server
if: ${{ !contains(github.event.pull_request.labels.*.name, 'new-server-features') }}
run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server aerospike:ce-7.2.0.1_1
run: |
cd ts-test;
npm i --save-dev @types/mocha;
npm i --save-dev @types/yargs;
npm i --save-dev @types/semver;
npm i --save-dev @types/chai;
npm install ..;
tsc;
cd ..;
docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server
@@ -559,7 +568,16 @@ jobs:

- name: Run Aerospike server
if: ${{ !contains(github.event.pull_request.labels.*.name, 'new-server-features') }}
run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server aerospike:ce-7.2.0.1_1
run: |
cd ts-test;
npm i --save-dev @types/mocha;
npm i --save-dev @types/yargs;
npm i --save-dev @types/semver;
npm i --save-dev @types/chai;
npm install ..;
tsc;
cd ..;
docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -170,7 +170,7 @@ jobs:
npm install ..;
tsc;
cd ..;
npm run ts-test ;
npm run run ts-test -- --h 127.0.0.1 --port 3000 ;
test-ce:
runs-on: ubuntu-latest
@@ -246,7 +246,7 @@ jobs:
npm install ..;
tsc;
cd ..;
npm run ts-test;
npm run ts-test -- --h 127.0.0.1 --port 3000;
test-lowest-supported-server:
runs-on: ubuntu-latest
@@ -301,7 +301,7 @@ jobs:
working-directory: ts-test

- name: Run tests
run: npm run ts-test -- --t 20000
run: npm run ts-test -- --h 127.0.0.1 --port 3000 --t 20000

test-ee:
runs-on: ubuntu-latest
@@ -365,7 +365,7 @@ jobs:
working-directory: ts-test

- name: Run tests
run: npm run ts-test -- --h localhost --U admin --P admin --t 40000 test/admin.js
run: npm run ts-test -- --h 127.0.0.1 --port 3000 --U admin --P admin --t 40000 test/admin.js

test-valgrind:
runs-on: ubuntu-latest

0 comments on commit e8739b5

Please sign in to comment.