Skip to content

Commit

Permalink
ci: add git before test
Browse files Browse the repository at this point in the history
  • Loading branch information
erguotou520 committed Jan 2, 2025
1 parent 7346161 commit d62c8be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn workspace @doremijs/igit-core test
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim sh -c "apt-get update && apt-get install -y git && yarn workspace @doremijs/igit-core test"
test-linux-x64-musl-binding:
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn workspace @doremijs/igit-core test
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine sh -c "apk update && apk add git && yarn workspace @doremijs/igit-core test"
test-linux-aarch64-gnu-binding:
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -302,6 +302,7 @@ jobs:
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
run: |
set -e
apk add git
yarn workspace @doremijs/igit-core test
ls -la
test-linux-aarch64-musl-binding:
Expand Down Expand Up @@ -336,6 +337,7 @@ jobs:
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
run: |
set -e
apk add git
yarn workspace @doremijs/igit-core test
publish:
name: Publish
Expand Down

0 comments on commit d62c8be

Please sign in to comment.