Skip to content

Commit 9bfa11f

Browse files
committed
Improve local testing
1 parent 4bd8b63 commit 9bfa11f

6 files changed

Lines changed: 26 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
strategy:
3535
matrix:
36-
php: [ '8.2' ]
36+
php: [ '8.1', '8.2' ]
3737
packages:
3838
- core: '^12.0'
3939
framework: 'dev-main'

Build/Scripts/additionalTests.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,16 @@ while getopts ":a:s:c:d:i:j:k:p:e:xy:q:o:nhuv" OPT; do
134134
s)
135135
TEST_SUITE=${OPTARG}
136136
;;
137+
p)
138+
PHP_VERSION=${OPTARG}
139+
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2)$ ]]; then
140+
INVALID_OPTIONS+=("${OPTARG}")
141+
fi
142+
;;
137143
q)
138144
PACKAGE=${OPTARG}
139145
;;
140-
o)
146+
r)
141147
COMPOSER_PARAMETER=${OPTARG}
142148
;;
143149
esac

Build/Scripts/test.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ checkResources () {
3636
fi
3737
echo "#################################################################" >&2
3838
echo "" >&2
39+
40+
./additionalTests.sh -s clean
3941
}
4042

4143
#################################################
@@ -74,13 +76,14 @@ runFunctionalTests () {
7476

7577
./additionalTests.sh -p ${PHP_VERSION} \
7678
-s composerInstallPackage \
77-
-q "typo3/cms-core:${TYPO3_VERSION}" || exit 1 ; \
79+
-q "typo3/cms-core:${TYPO3_VERSION}" \
80+
-r " --dev ${PREFER_LOWEST}" || exit 1 ; \
7881
EXIT_CODE_CORE=$?
7982

8083
./additionalTests.sh -p ${PHP_VERSION} \
8184
-s composerInstallPackage \
8285
-q "typo3/testing-framework:${TESTING_FRAMEWORK}" \
83-
-o " --dev ${PREFER_LOWEST}" || exit 1 ; \
86+
-r " --dev ${PREFER_LOWEST}" || exit 1 ; \
8487
EXIT_CODE_FRAMEWORK=$?
8588

8689
./runTests.sh -p ${PHP_VERSION} -s composerValidate || exit 1 ; \
@@ -118,8 +121,9 @@ cleanup () {
118121

119122
checkResources
120123

121-
runFunctionalTests "8.1" "^12.0" "dev-main" "Tests/Functional" || exit 1
122-
runFunctionalTests "8.1" "^12.0" "dev-main" "Tests/Functional" "--prefer-lowest" || exit 1
123-
# runFunctionalTests "8.1" "dev-main" "dev-main" "Tests/Functional" || exit 1
124+
runFunctionalTests "8.1" "^11.0" "^6.6.2" "Tests/Functional" || exit 1
125+
runFunctionalTests "8.1" "^11.0" "^6.6.2" "Tests/Functional" "--prefer-lowest" || exit 1
126+
runFunctionalTests "8.2" "^11.0" "^6.6.2" "Tests/Functional" || exit 1
127+
runFunctionalTests "8.2" "^11.0" "^6.6.2" "Tests/Functional" "--prefer-lowest" || exit 1
124128

125129
cleanup

Documentation/Settings.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[general]
22
project = ew_llxml2xliff
3-
version = 4.0.1
4-
release = 4.0.1
3+
version = 5.0.0
4+
release = 5.0.0
55
copyright = since 2016 by evoWeb
66

77
[notify]

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
"php": "^8.1",
3232
"ext-simplexml": "*",
3333
"ext-libxml": "*",
34-
"typo3/cms-core": "^12.2 || dev-main",
35-
"typo3/cms-backend": "^12.2 || dev-main",
36-
"typo3/cms-extbase": "^12.2 || dev-main",
37-
"typo3/cms-fluid": "^12.2 || dev-main",
38-
"typo3/cms-extensionmanager": "^12.2 || dev-main"
34+
"typo3/cms-core": "^12.4 || dev-main",
35+
"typo3/cms-backend": "^12.4 || dev-main",
36+
"typo3/cms-extbase": "^12.4 || dev-main",
37+
"typo3/cms-fluid": "^12.4 || dev-main",
38+
"typo3/cms-extensionmanager": "^12.4 || dev-main"
3939
},
4040
"require-dev": {
4141
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": "dev-main",

ext_emconf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
'author_email' => 'typo3@evoweb.de',
1010
'author_company' => 'evoWeb',
1111
'state' => 'stable',
12-
'version' => '4.0.1',
12+
'version' => '5.0.0',
1313
'constraints' => [
1414
'depends' => [
15-
'typo3' => '11.0.0-11.9.99',
15+
'typo3' => '12.0.0-12.4.99',
1616
],
1717
'conflicts' => [],
1818
'suggests' => [],

0 commit comments

Comments
 (0)