Skip to content
 
 

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Please note the version number of the Github Action must match your composer.json major version number. For example, if your composer.json requires phpunit/phpunit 8.5.8, you must use php-actions/phpunit@v8, as major versions of PHPUnit are incompatible with each other.


If you found this repository helpful, please consider sponsoring the developer.

About

An example project that uses php-actions/phpunit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages