ci(PHP): Only test against highest and lowest supported PHP versions

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/61158/head
provokateurin 2 months ago
parent fd89f703e7
commit 3ee06f338c
No known key found for this signature in database
  1. 16
      .github/workflows/autocheckers.yml
  2. 2
      .github/workflows/files-external-ftp.yml
  3. 4
      .github/workflows/files-external-s3.yml
  4. 2
      .github/workflows/files-external-sftp.yml
  5. 2
      .github/workflows/files-external-smb.yml
  6. 2
      .github/workflows/files-external-webdav.yml
  7. 2
      .github/workflows/files-external.yml
  8. 2
      .github/workflows/integration-dav.yml
  9. 2
      .github/workflows/integration-litmus.yml
  10. 2
      .github/workflows/integration-s3-primary.yml
  11. 2
      .github/workflows/integration-sqlite.yml
  12. 2
      .github/workflows/lint-php.yml
  13. 2
      .github/workflows/object-storage-azure.yml
  14. 2
      .github/workflows/object-storage-s3.yml
  15. 2
      .github/workflows/object-storage-swift.yml
  16. 11
      .github/workflows/performance.yml
  17. 2
      .github/workflows/phpunit-32bits.yml
  18. 8
      .github/workflows/phpunit-mariadb.yml
  19. 2
      .github/workflows/phpunit-memcached.yml
  20. 7
      .github/workflows/phpunit-mysql-sharding.yml
  21. 2
      .github/workflows/phpunit-nodb.yml
  22. 4
      .github/workflows/phpunit-object-store-primary.yml
  23. 12
      .github/workflows/phpunit-pgsql.yml
  24. 2
      .github/workflows/phpunit-sqlite.yml
  25. 9
      .github/workflows/rector-apply.yml
  26. 4
      tests/lib/Files/ObjectStore/S3Test.php

@ -44,10 +44,6 @@ jobs:
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.2']
name: PHP checkers
steps:
@ -57,11 +53,11 @@ jobs:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
- name: Set up php
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc #v2.37.1
timeout-minutes: 5
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.2'
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
@ -77,10 +73,6 @@ jobs:
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.2']
name: Translation and Files checkers
steps:
@ -90,11 +82,11 @@ jobs:
persist-credentials: false
submodules: true
- name: Set up php ${{ matrix.php-versions }}
- name: Set up php
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc #v2.37.1
timeout-minutes: 5
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.2'
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.2', '8.5']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-s3-minio
@ -129,7 +129,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-s3-localstack

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.4']
php-versions: ['8.2', '8.5']
sftpd: ['openssh']
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-smb

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-webdav

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-generic

@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.2', '8.5']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']

@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.2', '8.5']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}

@ -54,7 +54,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.2', '8.5']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio

@ -69,7 +69,7 @@ jobs:
- 'videoverification_features'
- 'guests_features'
php-versions: ['8.4']
php-versions: ['8.2', '8.5']
guests-versions: ['main']
spreed-versions: ['main']
activity-versions: ['master']

@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
php-versions: ['8.2', '8.5']
name: php-lint

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-azure

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-s3

@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3']
php-versions: ['8.2', '8.5']
name: php${{ matrix.php-versions }}-swift

@ -26,12 +26,7 @@ jobs:
permissions:
pull-requests: write
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
name: performance-${{ matrix.php-versions }}
name: performance
steps:
@ -42,11 +37,11 @@ jobs:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
- name: Set up php
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2.37.1
timeout-minutes: 5
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.2'
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.4"]
php-versions: ['8.2', '8,5']
steps:
- name: Checkout server

@ -60,10 +60,10 @@ jobs:
fail-fast: false
matrix:
include:
- php-versions: '8.2'
mariadb-versions: '10.6'
- php-versions: '8.5'
mariadb-versions: '11.8'
- mariadb-versions: '10.6'
php-versions: '8.2'
- mariadb-versions: '11.8'
php-versions: '8.5'
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -56,7 +56,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2', '8.3', '8.4', '8.5']
php-versions: ['8.2', '8.5']
name: Memcached (PHP ${{ matrix.php-versions }})

@ -56,8 +56,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2"]
mysql-versions: ["8.4"]
include:
- mysql-versions: '8.0'
php-versions: '8.2'
- mysql-versions: '8.4'
php-versions: '8.5'
name: Sharding - MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2", "8.3", "8.4", "8.5"]
php-versions: ['8.2', '8.5']
name: No DB unit tests (PHP ${{ matrix.php-versions }})

@ -49,8 +49,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2"]
key: ["s3", "s3-multibucket"]
php-versions: ['8.2', '8.5']
key: ['s3', 's3-multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio

@ -60,14 +60,10 @@ jobs:
fail-fast: false
matrix:
include:
- php-versions: '8.2'
postgres-versions: '14'
- php-versions: '8.3'
postgres-versions: '18'
- php-versions: '8.4'
postgres-versions: '18'
- php-versions: '8.5'
postgres-versions: '18'
- postgres-versions: '14'
php-versions: '8.2'
- postgres-versions: '18'
php-versions: '8.5'
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.5']
php-versions: ['8.2', '8.5']
name: SQLite (PHP ${{ matrix.php-versions }})

@ -21,11 +21,6 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: [ '8.2' ]
name: rector-apply
steps:
@ -36,10 +31,10 @@ jobs:
persist-credentials: false
ref: ${{ github.event.repository.default_branch }}
- name: Set up php${{ matrix.php-versions }}
- name: Set up php
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2.37.1
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.2'
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development

@ -150,8 +150,8 @@ class S3Test extends ObjectStoreTestCase {
#[\PHPUnit\Framework\Attributes\DataProvider('dataFileSizes')]
public function testFileSizes($size): void {
if (str_starts_with(PHP_VERSION, '8.3') && getenv('CI')) {
$this->markTestSkipped('Test is unreliable and skipped on 8.3');
if (str_starts_with(PHP_VERSION, '8.5') && getenv('CI')) {
$this->markTestSkipped('Test is unreliable and skipped on 8.5');
}
$this->cleanupAfter('testfilesizes');

Loading…
Cancel
Save