Added check for lost or conflicting metadata. #26
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
# test tasks for GitHub CI | |
# !!! todo: functional test with sqlite fails, is activated for now. | |
# todo: add checks for composer validate, lint, phpstan, etc. | |
# todo: for unit tests, copy the files typo3/testing-framework/Resources/Core/Build/UnitTests.xml | |
# and typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php to Build/phpunit | |
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
all_core_12: | |
name: "all core-12" | |
runs-on: ubuntu-22.04 | |
strategy: | |
# This prevents cancellation of matrix job runs, if one/two already failed and let the | |
# rest of the matrix jobs be executed anyway. | |
fail-fast: false | |
matrix: | |
php: [ '8.2', '8.3', '8.4' ] | |
minMax: [ 'composerInstall'] | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Composer" | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s ${{ matrix.minMax }} | |
- name: "Functional tests with mariadb" | |
if: always() | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional | |
#- name: "Functional tests with sqlite (nightly or pull_request)" | |
# if: ${{ always() && (github.event_name == 'schedule' || github.event_name == 'pull_request' ) }} | |
# run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d sqlite -s functional | |
- name: "Functional tests with postgres (nightly or pull_request)" | |
if: ${{ always() && (github.event_name == 'schedule' || github.event_name == 'pull_request' ) }} | |
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d postgres -s functional |