Add first functional tests #635
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |