Skip to content

Commit

Permalink
ci: add PHP 8.3 to workflow matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jan 25, 2024
1 parent 7143969 commit fb09fa2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
typo3-versions: '11'
- php-versions: '8.2'
typo3-versions: '12'
- php-versions: '8.3'
typo3-versions: '11'
- php-versions: '8.3'
typo3-versions: '12'
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -59,7 +63,7 @@ jobs:
make unit-tests
- name: Run functional tests
run: |
./Build/Scripts/runTests.sh -s functional -p ${{ matrix.php-versions }} -t ${{ matrix.typo3-versions }}
./Build/Scripts/runTests.sh -s functional -p ${{ matrix.php-versions }}
acceptance-tests:
name: Acceptance tests
runs-on: ubuntu-latest
Expand All @@ -69,7 +73,7 @@ jobs:
include:
- php-versions: '8.1'
typo3-versions: '11'
- php-versions: '8.2'
- php-versions: '8.3'
typo3-versions: '12'
steps:
- name: Check out repository
Expand Down
5 changes: 3 additions & 2 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ Options:
Only with -s composerInstall|acceptance
TYPO3 core major version the extension is embedded in for testing.
-p <8.1|8.2>
-p <8.1|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.3: use PHP 8.3
-e "<phpunit or codeception options>"
Only with -s acceptance|functional|unit
Expand Down Expand Up @@ -151,7 +152,7 @@ while getopts ":s:p:e:t:xy:huv" OPT; do
;;
p)
PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2)$ ]]; then
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3)$ ]]; then
INVALID_OPTIONS+=("p ${OPTARG}")
fi
;;
Expand Down
3 changes: 3 additions & 0 deletions Build/testing-docker/php83/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM typo3/core-testing-php83

RUN install-php-extensions sockets

0 comments on commit fb09fa2

Please sign in to comment.