MDL-70276 github actions: First cut, phpunit and grunt checks
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 21 Nov 2020 12:05:22 +0000 (13:05 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 25 Nov 2020 23:26:47 +0000 (00:26 +0100)
commit4b3409b7a4fc9064a7c2778305b0ed43793911fa
treec70d5a98d4f0fbeddad9eee995f8401fac51c902
parentc8d33eb9ceac63135723891d357e59dee6f5d76a
MDL-70276 github actions: First cut, phpunit and grunt checks

First working version, supports phpunit (using build matrix):

- php72 (lowest), running mysql.
- php74 (highest), running postgres.

Also verifies that the branch has been "gruntified" and there
isn't any missing change (build js/css files).

TODO: Verify the remaining checks currently in .travis.yml, namely:
 - CITEST
 - Add caching
 - Better health-check for DB images.
 - Support from the tracker (satus badges and enable check).
 - Support from CiBoT (status and enable check).
 - Consider moving both the common setup (git, composer...)
   and the database (mysql, postgres) to own actions for
   easier tweaking.
.github/workflows/config-template.php [new file with mode: 0644]
.github/workflows/push.yml [new file with mode: 0644]