Update 'README.md'
This commit is contained in:
10
README.md
10
README.md
@@ -3,7 +3,15 @@ Post PHPUnit test results to Gitea
|
||||
Enable in phpunit.xml with
|
||||
|
||||
```plain
|
||||
<phpunit printerClass="JHodges\GiteaBotPHPUnit\ResultPrinter">
|
||||
<phpunit ... printerClass="JHodges\GiteaBotPHPUnit\ResultPrinter">
|
||||
|
||||
<php>
|
||||
<env name="GiteaUrl" value="https://try.gitea.io/api/v1/"/>
|
||||
<env name="GiteaUser" value="bot"/>
|
||||
<!--env name="GiteaPass" value="xxx"/--> <!--probably set this on the machine env-->
|
||||
<env name="GiteaRepoUser" value="bobemoe"/>
|
||||
<env name="GiteaRepo" value="test"/>
|
||||
</php>
|
||||
|
||||
<logging>
|
||||
<log type="junit" target="/tmp/logfile.xml"/>
|
||||
|
Reference in New Issue
Block a user