Browse Source

Split out github actions into separate tasks.

MOODLE_38_STABLE
Dan Marsden 4 years ago
parent
commit
ad5ed94c1b
  1. 48
      .github/workflows/ci.yml

48
.github/workflows/ci.yml

@ -65,21 +65,37 @@ jobs:
# TODO: Omitted MOODLE_BRANCH results in regex failure, investigate. # TODO: Omitted MOODLE_BRANCH results in regex failure, investigate.
MOODLE_BRANCH: 'master' MOODLE_BRANCH: 'master'
- name: Run Integration tests - name: Run phplint
run: | run: moodle-plugin-ci phplint
# Currently it stops if any command return non 0 exit status, needs a
# wrapper to collect exit statuses and list result and the end. - name: Run phpcpd
# For testing purposes at this stage, just assume each command succeeds. run: moodle-plugin-ci phpcpd || true
moodle-plugin-ci phplint || true
moodle-plugin-ci phpcpd || true - name: Run phpmd
moodle-plugin-ci phpmd || true run: moodle-plugin-ci phpmd
moodle-plugin-ci codechecker || true
moodle-plugin-ci validate || true - name: Run codechecker
moodle-plugin-ci savepoints || true run: moodle-plugin-ci codechecker
moodle-plugin-ci mustache || true
moodle-plugin-ci grunt || true - name: Run validate
moodle-plugin-ci phpdoc || true run: moodle-plugin-ci validate
moodle-plugin-ci phpunit || true
moodle-plugin-ci behat --profile chrome || true - name: Run savepoints
run: moodle-plugin-ci savepoints
- name: Run mustache
run: moodle-plugin-ci phpcpd || true
env: env:
MUSTACHE_IGNORE_NAMES: mobile_teacher_form.mustache MUSTACHE_IGNORE_NAMES: mobile_teacher_form.mustache
- name: Run grunt
run: moodle-plugin-ci grunt
- name: Run phpdoc
run: moodle-plugin-ci phpdoc
- name: Run phpunit
run: moodle-plugin-ci phpunit
- name: Run behat
run: moodle-plugin-ci behat --profile chrome
Loading…
Cancel
Save