Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from jweiland-net/typo3_12_compatibility
Typo3 12 compatibility
- Loading branch information
Showing
97 changed files
with
3,049 additions
and
3,514 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: CI TYPO3 12.4 | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
CGL: | ||
name: Coding Style Check (TYPO3 Community CGL) | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Composer | ||
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s composerUpdate | ||
|
||
- name: Lint PHP | ||
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s lint | ||
|
||
- name: Validate code against CGL | ||
run: Build/Scripts/runTests.sh -t 12 -p 8.1 -s cgl -n | ||
|
||
testsuite: | ||
name: PHP Unit and Functional Tests for TYPO3 Version 12 LTS | ||
|
||
needs: CGL | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php: | ||
- '8.1' | ||
- '8.2' | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Composer | ||
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -t 12 -s composerUpdate | ||
|
||
- name: Unit Tests | ||
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit | ||
|
||
- name: Functional tests with mariadb | ||
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d mariadb -s functional | ||
|
||
- name: Functional tests with sqlite | ||
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d sqlite -s functional | ||
|
||
- name: Functional tests with postgres | ||
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -d postgres -s functional |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
backupGlobals="true" | ||
bootstrap="FunctionalTestsBootstrap.php" | ||
cacheResult="false" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
forceCoversAnnotation="false" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
stopOnIncomplete="false" | ||
stopOnSkipped="false" | ||
verbose="false" | ||
beStrictAboutTestsThatDoNotTestAnything="false" | ||
failOnWarning="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Functional tests"> | ||
<directory>../Tests/Functional/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<ini name="display_errors" value="1" /> | ||
<env name="TYPO3_CONTEXT" value="Testing" /> | ||
</php> | ||
</phpunit> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the package jweiland/jwtools2. | ||
* | ||
* For the full copyright and license information, please read the | ||
* LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
use TYPO3\TestingFramework\Core\Testbase; | ||
|
||
call_user_func(function () { | ||
$testbase = new Testbase(); | ||
$testbase->defineOriginalRootPath(); | ||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/tests'); | ||
$testbase->createDirectory(ORIGINAL_ROOT . 'typo3temp/var/transient'); | ||
}); |
Oops, something went wrong.