Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
[CI] Raise PHP to version 8.2 (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml authored Jan 22, 2024
1 parent e1bacc7 commit e309e8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: all tests
runs-on: ubuntu-latest
env:
php: '8.1'
php: '8.2'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
14 changes: 7 additions & 7 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ a recent docker-compose (tested >=1.21.2) is needed.
Usage: $0 [options] [file]
No arguments: Run all checks with PHP 8.1
No arguments: Run all checks with PHP 8.2
Options:
-s <...>
Expand All @@ -48,10 +48,10 @@ Options:
- lint: PHP linting
- rector: Apply Rector rules
-p <8.1|8.2>
-p <8.2|8.3>
Specifies the PHP minor version to be used
- 8.1 (default): use PHP 8.1
- 8.2: use PHP 8.2
- 8.2 (default): use PHP 8.2
- 8.3: use PHP 8.3
-u
Update existing typo3/core-testing-*:latest docker images. Maintenance call to docker pull latest
Expand All @@ -66,7 +66,7 @@ Options:
Show this help.
Examples:
# Run checks using PHP 8.1
# Run checks using PHP 8.2
./Build/Scripts/runTests.sh
EOF

Expand Down Expand Up @@ -108,7 +108,7 @@ else
ROOT_DIR=`realpath ${PWD}/../../`
fi
TEST_SUITE="cgl"
PHP_VERSION="8.1"
PHP_VERSION="8.2"
SCRIPT_VERBOSE=0
CGLCHECK_DRY_RUN=""
IMAGE_PREFIX="ghcr.io/typo3/"
Expand Down Expand Up @@ -160,7 +160,7 @@ if [ ${#INVALID_OPTIONS[@]} -ne 0 ]; then
exit 1
fi

# Move "8.1" to "php81", the latter is the docker container name
# Move "8.2" to "php82", the latter is the docker container name
DOCKER_PHP_IMAGE=`echo "php${PHP_VERSION}" | sed -e 's/\.//'`

# Suite execution
Expand Down

0 comments on commit e309e8e

Please sign in to comment.