Skip to content

Commit d0662cd

Browse files
committed
[BUGFIX] BE-Module v13
* do not call registerModule for v13 * prevent empty configuration exception * add v13 to ci workflow * get rid of runTest.sh
1 parent 90f3227 commit d0662cd

File tree

16 files changed

+186
-538
lines changed

16 files changed

+186
-538
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,42 @@ jobs:
1515
matrix:
1616
php: [ '8.1', '8.2']
1717
TYPO3: ['11', '12' ]
18+
include:
19+
- TYPO3: '13'
20+
php: '8.3'
1821
steps:
1922
- name: Checkout
20-
uses: actions/checkout@v2
21-
22-
- name: Install testing system
23-
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s composerInstall
23+
uses: actions/checkout@v4
2424

25+
- name: Set up PHP Version
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php }}
29+
tools: composer:v2
2530
- name: Composer validate
26-
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
27-
28-
- name: Lint PHP
29-
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint
30-
31-
- name: CGL
32-
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s cgl -n
31+
run: composer validate
32+
- name: Install composer dependencies TYPO3 13
33+
if: matrix.TYPO3 == '13'
34+
run: |
35+
composer install --no-progress --no-interaction
36+
37+
- name: Install composer dependencies TYPO3 12
38+
if: matrix.TYPO3 == '12'
39+
run: |
40+
composer require typo3/cms-core:^12.4 --no-progress --no-interaction --dev -W
41+
- name: Install composer dependencies TYPO3 11
42+
if: matrix.TYPO3 == '11'
43+
run: |
44+
composer require typo3/cms-core:^11.5 --no-progress --no-interaction --dev -W
45+
- name: Phpstan 11
46+
if: matrix.TYPO3 == '11'
47+
run: .Build/bin/phpstan analyze -c Build/phpstan11.neon
48+
- name: Phpstan 12
49+
if: matrix.TYPO3 == '12'
50+
run: .Build/bin/phpstan analyze -c Build/phpstan12.neon
51+
- name: Phpstan 13
52+
if: matrix.TYPO3 == '13'
53+
run: .Build/bin/phpstan analyze -c Build/phpstan13.neon
54+
- name: Phpcsfix
55+
run: .Build/bin/php-cs-fixer fix --config=Build/php-cs-fixer.php --dry-run --stop-on-violation --using-cache=no
3356

34-
- name: phpstan
35-
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t ${{ matrix.TYPO3 }} -s phpstan

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
publish:
99
name: Publish new version to TER
1010
if: startsWith(github.ref, 'refs/tags/')
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
env:
1313
TYPO3_API_TOKEN: ${{ secrets.TYPO3_API_TOKEN }}
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Check tag
2020
run: |
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup PHP
3838
uses: shivammathur/setup-php@v2
3939
with:
40-
php-version: 7.4
40+
php-version: 8.3
4141
extensions: intl, mbstring, json, zip, curl
4242

4343
- name: Install tailor

Build/Scripts/runTests.sh

Lines changed: 0 additions & 302 deletions
This file was deleted.

0 commit comments

Comments
 (0)