phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

Run your PHPUnit tests in your Github Actions.

Results 23 phpunit issues
Sort by recently updated
recently updated
newest added

Many CI workflows configure the workspace environment before executing. This Github Action works in a way that completely isolates the test runner from the environment, by running your tests in...

enhancement
help wanted

So I was moving to `php-actions/phpunit` since I am also using the composer package from you guys. But when I am running my GA with it my locales is not...

My CI config: ``` strategy: matrix: php-verwsions: [ 8.1, 8.2 ] steps: - uses: actions/checkout@v3 - uses: php-actions/composer@v6 - name: phpunit tests ${{ matrix.php-versions }} uses: php-actions/phpunit@v3 with: bootstrap: vendor/autoload.php...

Hi, It doesn't possible to launch phpunit with a Windows server instead of Ubuntu. An error occurs. I don't understand why.

Please explore https://github.com/orgs/community/discussions/126955. Your deprecation about "using comma-separated values with --test-suffix" caused problems but I found the solution ))

Continues the work done with the chmod-permission branch, fixing the resulting error related to incorrect filepaths to phpunit. [Here it is working in my CI.](https://github.com/shanept/AssemblySimulator/actions/runs/9682763374/job/26716571728) You will notice 4 different...

I think you can see the whole situation here: - https://github.com/imanghafoori1/laravel-widgetize/actions/runs/9479009600 - https://github.com/imanghafoori1/laravel-widgetize/blob/master/.github/workflows/tests.yml The error is not clear at all. ![image](https://github.com/php-actions/phpunit/assets/6961695/a4733b80-0d53-4953-ac66-3e118ac7fe47)

My yml is as follows: ```yaml - name: Run Tests uses: php-actions/phpunit@master with: version: "11.2.8" php_version: "8.3" php_extensions: "gd mysqli sockets imagick ssh2" bootstrap: "app/autoload.php" configuration: "tests/phpunit.xml" ``` Getting the...

This is a potential fix for https://github.com/php-actions/phpunit/issues/75 It filters the --env-file process to ensure it only passes valid formatted env values

Description I encountered an issue while using php-actions/phpunit@v3 in my GitHub Actions workflow. The workflow is set up as follows: - name: Run tests uses: php-actions/phpunit@v3 with: php_version: "8.1" bootstrap:...