Skip to content

Commit 0dd98fe

Browse files
author
Greg Bowler
committed
Example application
1 parent 139cfd0 commit 0dd98fe

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v2
2525
- uses: php-actions/composer@v1 # or alternative dependency management
26-
- uses: php-actions/phpunit@v8
26+
- uses: php-actions/phpunit@v9
2727
# ... then your own project steps ...
2828
```
2929

30+
Example
31+
-------
32+
33+
We've put together an extremely simple example application that uses `php-actions/phpunit`. Check it out here: https://github.com/php-actions/example-phpunit.
34+
3035
Inputs
3136
------
3237

@@ -48,7 +53,7 @@ jobs:
4853
...
4954

5055
- name: PHPUnit tests
51-
uses: php-actions/phpunit@v8
56+
uses: php-actions/phpunit@v9
5257
with:
5358
config: custom/path/to/phpunit.xml
5459
memory: 256M
@@ -66,6 +71,8 @@ Current versions supported by this Action:
6671
+ 9.*
6772
+ 8.*
6873
74+
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.
75+
6976
If you require a specific version that is not listed here, please request them in the [Github issue tracker](https://github.com/php-actions/phpunit/issues)
7077

7178
If you found this repository helpful, please consider [sponsoring the developer][sponsor].

0 commit comments

Comments
 (0)