MDL-70276 github actions: First cut, phpunit and grunt checks
commita284ced9a1bed1b20d3569e05769a3ceaac694c3
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 21 Nov 2020 12:05:22 +0000 (21 13:05 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 25 Nov 2020 23:23:22 +0000 (26 00:23 +0100)
tree88f24425fddb7fa1bbec7012da5ce82b32359ac4
parent03e32198844213b076125fdc4fc3a8a7469da617
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]