Skip to content

Commit

Permalink
fix tests on docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Nov 16, 2023
1 parent ea8e638 commit b863061
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish-packager-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
working-directory: .
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "cd bindings/packager/nodejs && yarn test"
test-linux-x64-musl-binding:
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -278,7 +279,8 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine pnpm test
working-directory: .
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "cd bindings/packager/nodejs && yarn test"
test-linux-aarch64-gnu-binding:
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -361,7 +363,8 @@ jobs:
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
pnpm test
cd bindings/packager/nodejs
yarn test
test-linux-arm-gnueabihf-binding:
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -404,7 +407,8 @@ jobs:
options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
pnpm test
cd bindings/packager/nodejs
yarn test
ls -la
publish:
name: Publish
Expand Down

0 comments on commit b863061

Please sign in to comment.