krakjoe / uopz

User Operations for Zend
Other
358 stars 47 forks source link

Basic GH Actions CI for building and testing #150

Closed cmb69 closed 3 years ago

cmb69 commented 3 years ago

No OPcache yet.


Windows runs are slow due to lack of caching of the setup-php-sdk action; I'll hope I find some time to improve that. Anyway, might be good as is for now ( https://github.com/cmb69/uopz/actions/runs/1076352401) to close #148.

krakjoe commented 3 years ago

Ah, so this would be replacing travis, excellent ...

So why exactly is opcache not working ?

I'd really like to be able to test with and without opcache, it shows many bugs.

cmb69 commented 3 years ago

So why exactly is opcache not working ?

Should be a matter of configuration. I'm actually surprised that it is not enabled on Ubuntu, although php -v reports that it is enabled (make test doesn't appear to have it enabled, though). On Windows it should probably create a php.ini (to set up a file_cache_fallback etc.), but that should better be handled by the setup-php-sdk action.

krakjoe commented 3 years ago

If it helps, on travis, I usually echo out an ini file and use run-tests.php directly with -P option. make test is strange in various ways.

krakjoe commented 3 years ago

Oh also, any idea how to do coveralls ?

krakjoe commented 3 years ago

I merged as is, because travis has just stopped working, something about credits ...

Feel free to improve in tree.

krakjoe commented 3 years ago

And, thank you, very much :)