Skip to content

Commit 9f47e45

Browse files
committed
sync 'dev' with 'main'
2 parents 5436577 + dfb359f commit 9f47e45

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test-agent.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ on:
1515
branches:
1616
- main
1717
- 'dev'
18+
# trigger job for each pull request, regardless of the target branch
1819
pull_request:
19-
branches:
20-
- main
21-
- 'dev'
22-
- 'oapi'
20+
2321
jobs:
2422
daemon-unit-tests:
2523
runs-on: ubuntu-latest
@@ -101,8 +99,11 @@ jobs:
10199
with:
102100
path: php-agent
103101
- name: Enable arm64 emulation
104-
run: |
105-
docker run --privileged --rm tonistiigi/binfmt --install arm64
102+
if: ${{ matrix.arch == 'arm64' }}
103+
uses: docker/setup-qemu-action@v2
104+
with:
105+
image: tonistiigi/binfmt:${{vars.BINFMT_IMAGE_VERSION}}
106+
platforms: arm64
106107
- name: Login to Docker Hub
107108
uses: docker/login-action@v2
108109
with:
@@ -182,6 +183,7 @@ jobs:
182183
needs: [daemon-unit-tests, agent-unit-test]
183184
runs-on: ubuntu-latest
184185
strategy:
186+
fail-fast: false
185187
matrix:
186188
platform: [gnu, musl]
187189
arch: [amd64, arm64]

0 commit comments

Comments
 (0)