Skip to content

Fix most Tests

Fix most Tests #132

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.env.experimental == true }}
strategy:
fail-fast: false
matrix:
env:
- { php: 8.3 }
env: ${{ matrix.env }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.env.php }}
tools: composer:2
extensions: pdo, sqlite3
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: dependencies-composer-${{ matrix.env.php }}-${{ hashFiles('composer.json') }}
- name: Install dependencies
run: composer install
- name: Check coding style
run: composer lint
if: ${{ matrix.env.php == '8.1' }}
- name: Run Unit Tests
run: |
echo "Running unit tests with $(which php)";
TYPO3_CONTEXT=Testing .Build/bin/phpunit --colors -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml Tests/Unit/;