From f4442cbe02e10d50674ec3a2fb0ea767fbf527b2 Mon Sep 17 00:00:00 2001 From: Dominic Pelini <111786059+DomPeliniAerospike@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:30:39 -0700 Subject: [PATCH] Update build-bindings.yml --- .github/workflows/build-bindings.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-bindings.yml b/.github/workflows/build-bindings.yml index f5572b87..aed5f793 100644 --- a/.github/workflows/build-bindings.yml +++ b/.github/workflows/build-bindings.yml @@ -147,9 +147,15 @@ jobs: env: CFLAGS: '-Werror' - - name: Testing client + - name: foo test + run: | + npm install .. + working-directory: src + + - name: Test client run: | ${{ env.TEST_COMMAND }} + working-directory: src - name: Send binding to test jobs uses: actions/upload-artifact@v4 @@ -219,14 +225,19 @@ jobs: run: | ./scripts/build-c-client.sh npm install - npm install . - npm list aerospike + npm install .. env: CFLAGS: '-Werror' + - name: foo test + run: | + npm install . + working-directory: src + - name: Test client run: | ${{ env.TEST_COMMAND }} + working-directory: src - name: Save macOS binding uses: actions/upload-artifact@v4 @@ -342,9 +353,15 @@ jobs: run: echo "TEST_COMMAND=node -e 'aerospike = require(\"aerospike\")'" >> $GITHUB_ENV + - name: foo test + run: | + npm install .. + working-directory: src + - name: Test client run: | ${{ env.TEST_COMMAND }} + working-directory: src - name: Save macOS wheel uses: actions/upload-artifact@v4