An example project that uses php-actions/phpunit
This is a trivial project that holds only simple example functionality: a greeter that can greet you by name.
Check out the Actions tab in the Github repository to see the past actions workflows and their outputs.
There are unit tests stored within the test
directory, along with a phpunit.xml
.
The file at .github/workflows/ci.yml
shows how to use php-actions/phpunit - take note of the uses: php-actions/phpunit@v9
line.
Versions of PHPUnit and all options are available to configure. Please see the php-actions/phpunit documentation for more information!
If you found this repository helpful, please consider sponsoring the developer.