Skip to content

Make component settings work in TYPO3 v13 #587

Make component settings work in TYPO3 v13

Make component settings work in TYPO3 v13 #587

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
lint:
name: Source code linting
runs-on: ubuntu-24.04
strategy:
max-parallel: 2
matrix:
php-versions: ['8.2']
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: Validate composer.json
run: Build/Scripts/runTests.sh -s composer validate
- name: Cache dependencies installed with composer
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
path: .cache/composer
restore-keys: "php${{ matrix.php-version }}-composer-\n"
- name: Install composer dependencies
run: Build/Scripts/runTests.sh -s composer install
- name: PHP Linting
run: Build/Scripts/runTests.sh -s lintPhp
- name: Editorconfig Linting
run: Build/Scripts/runTests.sh -s lintEditorconfig
unittest:
runs-on: ubuntu-24.04
strategy:
max-parallel: 2
matrix:
php-versions: ['8.2', '8.3', '8.4']
typo3-versions: ['13.4', '12.4']
composer-requirements: ['Min', 'Max']
exclude:
- typo3-versions: '13.4'
composer-requirements: 'Min'
name: Unit (PHP ${{ matrix.php-versions }}, TYPO3 ${{ matrix.typo3-versions }}, Req ${{ matrix.composer-requirements }})
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: Validate composer.json
run: Build/Scripts/runTests.sh -s composer validate
- name: Cache dependencies installed with composer
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
path: .cache/composer
restore-keys: "php${{ matrix.php-version }}-composer-\n"
- name: Install composer dependencies
run: Build/Scripts/runTests.sh -p ${{ matrix.php-versions }} -t ${{ matrix.typo3-versions }} -s composerUpdate${{ matrix.composer-requirements }}
- name: Automated Unit Testing
run: Build/Scripts/runTests.sh -p ${{ matrix.php-versions }} -s unit
functional:
runs-on: ubuntu-24.04
strategy:
max-parallel: 2
matrix:
php-versions: ['8.2', '8.3', '8.4']
typo3-versions: ['13.4', '12.4']
composer-requirements: ['Min', 'Max']
exclude:
- typo3-versions: '13.4'
composer-requirements: 'Min'
name: Functional (PHP ${{ matrix.php-versions }}, TYPO3 ${{ matrix.typo3-versions }}, Req ${{ matrix.composer-requirements }})
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: Validate composer.json
run: Build/Scripts/runTests.sh -s composer validate
- name: Cache dependencies installed with composer
uses: actions/cache@v4
with:
key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
path: .cache/composer
restore-keys: "php${{ matrix.php-version }}-composer-\n"
- name: Install composer dependencies
run: Build/Scripts/runTests.sh -p ${{ matrix.php-versions }} -t ${{ matrix.typo3-versions }} -s composerUpdate${{ matrix.composer-requirements }}
- name: Update testing containers
run: Build/Scripts/runTests.sh -s update
- name: Automated Functional Testing
run: Build/Scripts/runTests.sh -p ${{ matrix.php-versions }} -s functional