Skip to content

Commit

Permalink
get rid of simple-phpunit and make it actually simple by using phpuni…
Browse files Browse the repository at this point in the history
…t directly
  • Loading branch information
dbu committed Dec 19, 2023
1 parent c103a63 commit 7ff47e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,16 @@ jobs:
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
run: |
composer update ${{ matrix.composer-flag }} --prefer-dist --no-interaction --no-progress
vendor/bin/simple-phpunit install
- name: Composer validate
run: composer validate --strict --no-check-lock
if: ${{ matrix.stability != 'dev' }}

- name: Run tests
run: php vendor/bin/simple-phpunit -v
run: php vendor/bin/phpunit -v
if: ${{ matrix.stability != 'dev' }}

- name: Run tests allow to fail
run: php vendor/bin/simple-phpunit -v || true
run: php vendor/bin/phpunit -v || true
continue-on-error: true
if: ${{ matrix.stability == 'dev' }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"symfony/browser-kit": "^4.4 || ^5.0 || ^6.0",
"symfony/console": "^4.4 || ^5.0 || ^6.0",
"symfony/finder": "^4.4 || ^5.0 || ^6.0",
"symfony/phpunit-bridge": "v5.3.7",
"phpunit/phpunit": "^9.6.15",
"symfony/security-bundle": "^4.4 || ^5.0 || ^6.0",
"symfony/twig-bundle": "^4.4 || ^5.0 || ^6.0",
"twig/twig": "^2.13",
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,5 @@
<env name="KERNEL_DIR" value="./tests/Functional/Fixtures/app" />
<env name="KERNEL_CLASS" value="AppKernel" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<server name="SYMFONY_PHPUNIT_VERSION" value="8.5" />
</php>
</phpunit>

0 comments on commit 7ff47e4

Please sign in to comment.