Update Testing Process
Closed this issue · 7 comments
Hope you are doing well. I am almost done adding unit tests to the master branch. I was wondering what service provides pull-request checks and if it would be possible to run composer test
as part of that process? If not, maybe Circle CI?
$ composer test
> phpunit --coverage-html build/coverage tests/
PHPUnit 8.2.5 by Sebastian Bergmann and contributors.
.................................SS......SSS.....SSS.....S 58 / 58 (100%)
Time: 908 ms, Memory: 8.00 MB
OK, but incomplete, skipped, or risky tests!
Tests: 58, Assertions: 67, Skipped: 9.
Hey @FaaPz,
Good to hear from you! I have no preference so I will take a look at both and pick the path of least resistance.
Also, can you enable github actions for this repo?
@FaaPz, Good deal! Looks like CI is running some linting and unit tests. I haven't figured out a way to export the coverage report artifact yet, but the rest of it is working across Linux, OSX and Windows. There are still those problems with the CI Style check PSR-12 conflicts I previously mentioned. The internal linting covers must of the stuff currently in the Style CI check so up to you if you want to keep it.