Skip to content

Merge pull request #161 from sitegeist/task/testsWithoutDockerCompose #495

Merge pull request #161 from sitegeist/task/testsWithoutDockerCompose

Merge pull request #161 from sitegeist/task/testsWithoutDockerCompose #495

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']
typo3-versions: ['13.2', '12.4']
name: Unit Testing (PHP ${{ matrix.php-versions }}, TYPO3 ${{ matrix.typo3-versions }})
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 composerUpdateMin
- name: Automated Unit Testing
run: Build/Scripts/runTests.sh -s unit
functional:
runs-on: ubuntu-24.04
strategy:
max-parallel: 2
matrix:
php-versions: ['8.2', '8.3']
typo3-versions: ['13.2', '12.4']
name: Functional Testing (PHP ${{ matrix.php-versions }}, TYPO3 ${{ matrix.typo3-versions }})
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 composerUpdateMin
- name: Automated Unit Testing
run: Build/Scripts/runTests.sh -s functional