Skip to content

Commit 3dc4ca6

Browse files
authored
Merge pull request #168 from stronk7/add_400_ci
Add 400_STABLE to CI tests
2 parents 91bec7c + d2c30c5 commit 3dc4ca6

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
include:
4646
- php: '7.4'
4747
moodle-branch: 'master'
48+
- php: '7.4'
49+
moodle-branch: 'MOODLE_400_STABLE'
4850
- php: '7.4'
4951
moodle-branch: 'MOODLE_311_STABLE'
5052
- php: '7.4'
@@ -97,9 +99,7 @@ jobs:
9799
moodle-plugin-ci validate
98100
moodle-plugin-ci savepoints
99101
moodle-plugin-ci mustache
100-
moodle-plugin-ci grunt || [ \
101-
"$MOODLE_BRANCH" != 'master' -a \
102-
"$MOODLE_BRANCH" != 'MOODLE_400_STABLE' ]
102+
moodle-plugin-ci grunt || [ "$MOODLE_BRANCH" == 'MOODLE_38_STABLE' ]
103103
moodle-plugin-ci phpdoc
104104
moodle-plugin-ci phpunit --verbose --coverage-text --fail-on-warning
105105
moodle-plugin-ci behat --profile default

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ script:
5353
- moodle-plugin-ci validate
5454
- moodle-plugin-ci savepoints
5555
- moodle-plugin-ci mustache
56-
- moodle-plugin-ci grunt || [ \
57-
"$MOODLE_BRANCH" != 'master' -a \
58-
"$MOODLE_BRANCH" != 'MOODLE_311_STABLE' -a \
59-
"$MOODLE_BRANCH" != 'MOODLE_310_STABLE' -a \
60-
"$MOODLE_BRANCH" != 'MOODLE_39_STABLE' ]
56+
- moodle-plugin-ci grunt || [ "$MOODLE_BRANCH" == 'MOODLE_38_STABLE' ]
6157
- moodle-plugin-ci phpdoc
6258
- moodle-plugin-ci phpunit --coverage-text --fail-on-warning
6359
- moodle-plugin-ci behat --profile default
@@ -73,6 +69,8 @@ jobs:
7369
script:
7470
- make validate
7571
- stage: Integration tests
72+
- php: 7.4
73+
env: MOODLE_BRANCH=MOODLE_400_STABLE
7674
- php: 7.4
7775
env: MOODLE_BRANCH=MOODLE_311_STABLE
7876
- php: 7.4

0 commit comments

Comments
 (0)