Skip to content

Commit 1007c54

Browse files
committed
Add back PHPUnit tests with MongoDB
1 parent 4630af7 commit 1007c54

File tree

4 files changed

+3
-45
lines changed

4 files changed

+3
-45
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/features export-ignore
99
/phpstan.neon.dist export-ignore
1010
/phpunit.xml.dist export-ignore
11-
/phpunit_mongodb.xml export-ignore
1211
/tests export-ignore
1312
/update-js.sh export-ignore
1413
/yarn.lock export-ignore

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ jobs:
485485
run: vendor/bin/behat --out=std --format=progress --profile=default --no-interaction
486486

487487
mongodb:
488-
name: Behat (PHP ${{ matrix.php }}) (MongoDB)
488+
name: PHPUnit + Behat (PHP ${{ matrix.php }}) (MongoDB)
489489
runs-on: ubuntu-latest
490490
timeout-minutes: 20
491491
strategy:
@@ -530,7 +530,7 @@ jobs:
530530
- name: Clear test app cache
531531
run: tests/Fixtures/app/console cache:clear --ansi
532532
- name: Run PHPUnit
533-
run: vendor/bin/simple-phpunit
533+
run: vendor/bin/simple-phpunit --group mongodb
534534
- name: Run Behat tests
535535
run: vendor/bin/behat -vv --out=std --format=progress --profile=mongodb --no-interaction
536536

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<server name="SYMFONY_PHPUNIT_REMOVE" value="symfony/yaml" />
1717
<server name="KERNEL_DIR" value="tests/Fixtures/app/" />
1818
<server name="KERNEL_CLASS" value="AppKernel" />
19-
<server name="APP_ENV" value="test" />
19+
<env name="APP_ENV" value="test" />
2020
</php>
2121

2222
<testsuites>

phpunit_mongodb.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)