From 0caaa7b33c4c82f537ddc77b71ec6fbb13e2c2c1 Mon Sep 17 00:00:00 2001 From: Paul Feng <35683264+paul-feng-github@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:00:54 -0800 Subject: [PATCH] test: Add tests for php82 (#135) --- .github/workflows/buildpack-integration-test.yml | 10 ++++++++++ .github/workflows/conformance.yml | 2 +- .github/workflows/unit.yaml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildpack-integration-test.yml b/.github/workflows/buildpack-integration-test.yml index 27db75ea..07b4f17c 100644 --- a/.github/workflows/buildpack-integration-test.yml +++ b/.github/workflows/buildpack-integration-test.yml @@ -26,3 +26,13 @@ jobs: prerun: 'tests/conformance/prerun.sh ${{ github.sha }}' output-file: 'vendor/bin/function_output.json' builder-runtime: 'php81' + php82-buildpack-test: + uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.0 + with: + http-builder-source: 'tests/conformance' + http-builder-target: 'declarativeHttpFunc' + cloudevent-builder-source: 'tests/conformance' + cloudevent-builder-target: 'declarativeCloudEventFunc' + prerun: 'tests/conformance/prerun.sh ${{ github.sha }}' + output-file: 'vendor/bin/function_output.json' + builder-runtime: 'php82' \ No newline at end of file diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 3c1bc4eb..1beebfd4 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [ '7.4','8.0','8.1' ] + php-version: [ '7.4','8.0','8.1','8.2' ] name: PHP ${{ matrix.php-version }} Conformance Test steps: - name: Checkout code diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index b9edbe6e..a56a2a48 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -10,7 +10,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: [ '7.4','8.0','8.1' ] + php-versions: [ '7.4','8.0','8.1','8.2' ] name: PHP ${{ matrix.php-versions }} Unit Test steps: - name: Checkout