From 49f01cffa4934ba007b7d0c79ec8dbd2a3218f86 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 2 Oct 2024 22:34:32 +0200 Subject: [PATCH] ci: Test against PHP 8.4 Signed-off-by: Joas Schilling --- .github/workflows/integration-pgsql.yml | 2 +- .github/workflows/lint-php.yml | 4 ++-- .github/workflows/phpunit-pgsql.yml | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-pgsql.yml b/.github/workflows/integration-pgsql.yml index b4b121a9d8d..cca8bae03c6 100644 --- a/.github/workflows/integration-pgsql.yml +++ b/.github/workflows/integration-pgsql.yml @@ -50,7 +50,7 @@ jobs: fail-fast: false matrix: test-suite: ['callapi', 'chat-1', 'chat-2', 'chat-3', 'chat-4', 'command', 'conversation-1', 'conversation-2', 'conversation-3', 'conversation-4', 'conversation-5', 'federation', 'integration', 'sharing-1', 'sharing-2', 'sharing-3', 'sharing-4'] - php-versions: ['8.3'] + php-versions: ['8.4'] server-versions: ['master'] guests-versions: ['master'] circles-versions: ['master'] diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 104fed644c6..abdc44accc5 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -42,10 +42,10 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - name: Set up php ${{ matrix.php-versions }} + - name: Set up php 8.4 uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1 with: - php-version: ${{ matrix.php-versions }} + php-version: 8.4 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 diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml index 2a23e02e6e8..60bf28a84a4 100644 --- a/.github/workflows/phpunit-pgsql.yml +++ b/.github/workflows/phpunit-pgsql.yml @@ -66,7 +66,7 @@ jobs: strategy: matrix: - php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} + php-versions: ['8.4'] server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} name: PostgreSQL PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }} @@ -95,6 +95,10 @@ jobs: repository: nextcloud/server ref: ${{ matrix.server-versions }} + - name: Patch version check for nightly PHP + if: ${{ matrix.php-versions == '8.4' }} + run: echo " lib/versioncheck.php + - name: Checkout app uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: