Go to file
2019-09-25 17:58:56 +01:00
src dont post blank reports 2019-09-25 17:58:56 +01:00
.gitignore initial commit 2019-09-18 19:41:13 +01:00
composer.json upload screenshots 2019-09-23 12:18:16 +01:00
composer.lock initial commit 2019-09-18 19:41:13 +01:00
README.md Update 'README.md' 2019-09-22 20:09:53 +01: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"/>
  <log type="testdox-text" target="/tmp/testdox.txt"/>
</logging>