This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch nodejs-layer
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/nodejs-layer by this push:
     new ad83932a5 try
ad83932a5 is described below

commit ad83932a5b267ee6f49f0f1db63daa8fae238194
Author: suyanhanx <[email protected]>
AuthorDate: Sat Nov 4 15:58:46 2023 +0800

    try
    
    Signed-off-by: suyanhanx <[email protected]>
---
 .github/workflows/bindings_nodejs.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/bindings_nodejs.yml 
b/.github/workflows/bindings_nodejs.yml
index 78fcd20f8..133f2f642 100644
--- a/.github/workflows/bindings_nodejs.yml
+++ b/.github/workflows/bindings_nodejs.yml
@@ -67,7 +67,13 @@ jobs:
         run: git diff --exit-code
 
       - name: Unit test
-        run: cargo test --no-fail-fast
+        run: |
+          docker run \
+            -v ${{ github.workspace }}:/build \
+            -e NAPI_TARGET=x86_64-unknown-linux-gnu \
+            -w /build/bindings/nodejs \
+            ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian \
+            bash -c "cargo test --no-fail-fast"
 
   linux:
     runs-on: ubuntu-latest

Reply via email to