Skip to content

Make test for cleanup of unduplicated processed files more thorough #65

Make test for cleanup of unduplicated processed files more thorough

Make test for cleanup of unduplicated processed files more thorough #65

Workflow file for this run

# 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:
runTests:
name: "runTests"
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', '8.5' ]
typo3Version: [ 'typo3/cms-core:^12.4', 'typo3/cms-core:^13.4']
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Composer"
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composer -- update --with ${{ matrix.typo3Version }}
- 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
- name: "Functional tests with mysql (nightly or pull_request)"
if: ${{ always() && (github.event_name == 'schedule' || github.event_name == 'pull_request' ) }}
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mysql -s functional