Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaudeau Pierre committed Aug 31, 2021
1 parent 1e5003e commit e7c8138
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Expand Up @@ -149,17 +149,7 @@ jobs:
run: vendor/bin/simple-phpunit --version
- name: Clear test app cache
run: tests/Fixtures/app/console cache:clear --ansi
- name: Run PHPUnit tests php < 7.4
if: (startsWith(matrix.php, '7.1') || startsWith(matrix.php, '7.2'))
run: |
mkdir -p build/logs/phpunit
if [ "$COVERAGE" = '1' ]; then
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml --coverage-clover build/logs/phpunit/clover.xml --exclude-group '<7.4'
else
vendor/bin/simple-phpunit --log-junit build/logs/phpunit/junit.xml --exclude-group '<7.4'
fi
- name: Run PHPUnit tests php >= 7.4
if: (!startsWith(matrix.php, '7.1') && startsWith(!matrix.php, '7.2'))
- name: Run PHPUnit tests
run: |
mkdir -p build/logs/phpunit
if [ "$COVERAGE" = '1' ]; then
Expand Down
Expand Up @@ -28,7 +28,7 @@

/**
* @group legacy
* @group <7.4
* @requires PHP >= 7.4
*/
class CatDocumentMetadataFactoryTest extends TestCase
{
Expand Down
Expand Up @@ -423,7 +423,7 @@ public function testEmptyTitleDescriptionConfig()
}

/**
* @group <7.4
* @requires PHP >= 7.4
*/
public function testEnableElasticsearch()
{
Expand Down

0 comments on commit e7c8138

Please sign in to comment.