Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/test_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ jobs:
uses: protocolbuffers/protobuf-ci/checkout@v2
with:
ref: ${{ inputs.safe-checkout }}
<<<<<<< HEAD
- name: Setup composer
uses: protocolbuffers/protobuf-ci/composer-setup@v2
with:
cache-prefix: php-${{ matrix.version-short }}
directory: php
=======
>>>>>>> 9d60ddf81 (Don't ignore platform requirements)
- name: Run tests
uses: protocolbuffers/protobuf-ci/docker@v2
with:
Expand Down Expand Up @@ -89,12 +92,15 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-i386

<<<<<<< HEAD
- name: Setup composer
uses: protocolbuffers/protobuf-ci/composer-setup@v2
with:
cache-prefix: php-${{ matrix.version }}
directory: php

=======
>>>>>>> 9d60ddf81 (Don't ignore platform requirements)
- name: Run tests
uses: protocolbuffers/protobuf-ci/docker@v2
with:
Expand All @@ -106,7 +112,7 @@ jobs:
/bin/bash -cex '
PATH="/usr/local/php-${{ matrix.version }}${{matrix.suffix}}/bin:$PATH";
cd php && php -v && php -m;
composer update --ignore-platform-reqs;
composer update;
composer ${{ matrix.test }}'

linux-aarch64:
Expand All @@ -126,12 +132,15 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-aarch64

<<<<<<< HEAD
- name: Setup composer
uses: protocolbuffers/protobuf-ci/composer-setup@v2
with:
cache-prefix: php-8.0
directory: php

=======
>>>>>>> 9d60ddf81 (Don't ignore platform requirements)
- name: Run tests
uses: protocolbuffers/protobuf-ci/docker@v2
with:
Expand All @@ -142,7 +151,7 @@ jobs:
command: >-
-c '
cd php;
composer update --ignore-platform-reqs;
composer update;
composer test;
composer test_c'

Expand Down