Skip to content

Commit

Permalink
Raise versions in run script
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jan 22, 2024
1 parent 8360e02 commit dbab505
Showing 1 changed file with 7 additions and 7 deletions.
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 dbab505

Please sign in to comment.