diff --git a/.github/workflows/test-agent.yml b/.github/workflows/test-agent.yml index a778196fa..5c8b5f611 100644 --- a/.github/workflows/test-agent.yml +++ b/.github/workflows/test-agent.yml @@ -15,11 +15,9 @@ on: branches: - main - 'dev' + # trigger job for each pull request, regardless of the target branch pull_request: - branches: - - main - - 'dev' - - 'oapi' + jobs: daemon-unit-tests: runs-on: ubuntu-latest @@ -96,8 +94,11 @@ jobs: with: path: php-agent - name: Enable arm64 emulation - run: | - docker run --privileged --rm tonistiigi/binfmt --install arm64 + if: ${{ matrix.arch == 'arm64' }} + uses: docker/setup-qemu-action@v2 + with: + image: tonistiigi/binfmt:${{vars.BINFMT_IMAGE_VERSION}} + platforms: arm64 - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -159,6 +160,7 @@ jobs: needs: [daemon-unit-tests, agent-unit-test] runs-on: ubuntu-latest strategy: + fail-fast: false matrix: platform: [gnu, musl] arch: [amd64, arm64]