Go to file
2020-02-15 13:23:44 +00:00
src reorder for readability and comment 2020-02-15 13:23:44 +00:00
.gitignore initial commit 2019-09-18 19:41:13 +01:00
composer.json Update 'composer.json' 2020-01-29 16:28:38 +00:00
composer.lock initial commit 2019-09-18 19:41:13 +01:00
README.md remove GiteaTitle env var, change title format to allow skipped/failed to use same issue 2020-02-13 13:48:21 +00:00

Post PHPUnit test results to Gitea

Enable in phpunit.xml with

<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"/>
</logging>