diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 5225cccf03a..6837eb194bb 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -111,13 +111,14 @@ jobs: - "8.3" oracle-version: - "21" + - "23" include: - php-version: "7.4" oracle-version: "11" services: oracle: - image: gvenzl/oracle-xe:${{ matrix.oracle-version }} + image: gvenzl/oracle-${{ matrix.oracle-version < 23 && 'xe' || 'free' }}:${{ matrix.oracle-version }} env: ORACLE_PASSWORD: oracle ports: @@ -148,7 +149,7 @@ jobs: composer-options: "--ignore-platform-req=php+" - name: "Run PHPUnit" - run: "vendor/bin/phpunit -c ci/github/phpunit/oci8.xml --coverage-clover=coverage.xml" + run: "vendor/bin/phpunit -c ci/github/phpunit/oci8${{ matrix.oracle-version < 23 && '-21' || '' }}.xml --coverage-clover=coverage.xml" - name: "Upload coverage file" uses: "actions/upload-artifact@v3" @@ -169,13 +170,14 @@ jobs: - "8.3" oracle-version: - "21" + - "23" include: - php-version: "7.4" oracle-version: "11" services: oracle: - image: gvenzl/oracle-xe:${{ matrix.oracle-version }} + image: gvenzl/oracle-${{ matrix.oracle-version < 23 && 'xe' || 'free' }}:${{ matrix.oracle-version }} env: ORACLE_PASSWORD: oracle ports: @@ -206,7 +208,7 @@ jobs: composer-options: "--ignore-platform-req=php+" - name: "Run PHPUnit" - run: "vendor/bin/phpunit -c ci/github/phpunit/pdo_oci.xml --coverage-clover=coverage.xml" + run: "vendor/bin/phpunit -c ci/github/phpunit/pdo_oci${{ matrix.oracle-version < 23 && '-21' || '' }}.xml --coverage-clover=coverage.xml" - name: "Upload coverage file" uses: "actions/upload-artifact@v3" diff --git a/ci/github/phpunit/oci8-21.xml b/ci/github/phpunit/oci8-21.xml new file mode 100644 index 00000000000..d8e1d99fbf7 --- /dev/null +++ b/ci/github/phpunit/oci8-21.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + ../../../tests + + + + + + ../../../src + + + diff --git a/ci/github/phpunit/oci8.xml b/ci/github/phpunit/oci8.xml index d8e1d99fbf7..75bc15a0268 100644 --- a/ci/github/phpunit/oci8.xml +++ b/ci/github/phpunit/oci8.xml @@ -15,14 +15,14 @@ - + - + diff --git a/ci/github/phpunit/pdo_oci-21.xml b/ci/github/phpunit/pdo_oci-21.xml new file mode 100644 index 00000000000..ef1e272e5e0 --- /dev/null +++ b/ci/github/phpunit/pdo_oci-21.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + ../../../tests + + + + + + ../../../src + + + diff --git a/ci/github/phpunit/pdo_oci.xml b/ci/github/phpunit/pdo_oci.xml index ef1e272e5e0..02da003fcb8 100644 --- a/ci/github/phpunit/pdo_oci.xml +++ b/ci/github/phpunit/pdo_oci.xml @@ -15,14 +15,14 @@ - + - +