Skip to content

Add first functional tests #635

Add first functional tests

Add first functional tests #635

Workflow file for this run

name: tests
on:
push:
pull_request:
schedule:
- cron: '27 4 * * *'
jobs:
testsuite:
name: all tests
runs-on: ubuntu-24.04
strategy:
matrix:
php: ['8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Composer
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerInstall
- name: Composer validate
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
- name: GrumPHP
run: .Build/vendor/phpro/grumphp/bin/grumphp run
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint
- name: Unit tests
run: mkdir -p .Build/Web/typo3conf/ && rm -rf .Build/Web/typo3conf/ext && ln -sfn ../../../../ .Build/Web/typo3conf/ext && Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit
- name: Functional tests
run: mkdir -p .Build/Web/typo3conf/ && rm -rf .Build/Web/typo3conf/ext && ln -sfn ../../../../ .Build/Web/typo3conf/ext && Build/Scripts/runTests.sh -p ${{ matrix.php }} -d sqlite -s functional