Skip to content

Commit eef1768

Browse files
committed
Fixing ci.yml.
1 parent cf55d60 commit eef1768

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ jobs:
1111
- php: '8.0'
1212
moodle-branch: 'master'
1313
database: 'pgsql'
14+
- php: '7.4'
15+
moodle-branch: 'MOODLE_400_STABLE'
16+
database: 'pgsql'
1417
- php: '7.3'
1518
moodle-branch: 'MOODLE_400_STABLE'
1619
database: 'mariadb'
1720

1821
services:
1922
postgres:
20-
image: postgres:10
23+
image: postgres
2124
env:
2225
POSTGRES_USER: 'postgres'
2326
POSTGRES_HOST_AUTH_METHOD: 'trust'
@@ -34,8 +37,6 @@ jobs:
3437
env:
3538
MYSQL_USER: 'root'
3639
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
37-
MYSQL_CHARACTER_SET_SERVER: "utf8mb4"
38-
MYSQL_COLLATION_SERVER: "utf8mb4_unicode_ci"
3940
ports:
4041
- 3306:3306
4142
options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
@@ -46,13 +47,12 @@ jobs:
4647
with:
4748
path: plugin
4849

49-
- name: Setup PHP ${{ matrix.php }}
50+
- name: Setup PHP
5051
uses: shivammathur/setup-php@v2
5152
with:
5253
php-version: ${{ matrix.php }}
5354
extensions: ${{ matrix.extensions }}
5455
ini-values: max_input_vars=5000
55-
coverage: none
5656

5757
- name: Deploy moodle-plugin-ci
5858
run: |
@@ -62,7 +62,6 @@ jobs:
6262
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
6363
# PHPUnit depends on en_AU.UTF-8 locale
6464
sudo locale-gen en_AU.UTF-8
65-
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
6665
6766
- name: Install Moodle
6867
# Need explicit IP to stop mysql client fail on attempt to use unix socket.
@@ -108,7 +107,7 @@ jobs:
108107

109108
- name: Grunt
110109
if: ${{ always() }}
111-
run: moodle-plugin-ci grunt --max-lint-warnings 0
110+
run: moodle-plugin-ci grunt
112111

113112
- name: PHPUnit tests
114113
if: ${{ always() }}

0 commit comments

Comments
 (0)