mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 03:26:10 +01:00

[FEATURE] Run the functional tests in parallel (#58)

This commit is contained in:
Oliver Klee 2019-10-29 11:45:33 +01:00 committed by GitHub
parent b519583431
commit 69a0f60d32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,11 @@ sudo: false
language: php
addons:
apt:
packages:
- parallel
services:
- mysql

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Run the functional tests in parallel (#58)
- Add PHP-CS-Fixer (#53)
- Add support for PHP 7.3 (#51)
- Add support for TYPO3 9.6 (#48)

View file

@ -67,7 +67,7 @@
"ci:php:sniff": "phpcs Classes Tests",
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript/",
"ci:tests:unit": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/",
"ci:tests:functional": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml Tests/Functional/",
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
"ci:tests": [
"@ci:tests:unit",
"@ci:tests:functional"