File tree 1 file changed +52
-2
lines changed
1 file changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,55 @@ name: ci
4
4
on : [push, pull_request]
5
5
6
6
jobs :
7
- ci :
8
- uses : matthewhilton/catalyst-moodle-workflows/.github/workflows/ci.yml@nvm-workaround
7
+ setup :
8
+ name : 4.0+
9
+ env :
10
+ IGNORE_PATHS : tests/fixtures
11
+ runs-on : ' ubuntu-latest'
12
+
13
+ services :
14
+ postgres :
15
+ image : postgres:10
16
+ env :
17
+ POSTGRES_USER : ' postgres'
18
+ POSTGRES_HOST_AUTH_METHOD : ' trust'
19
+ options : >-
20
+ --health-cmd pg_isready
21
+ --health-interval 10s
22
+ --health-timeout 5s
23
+ --health-retries 3
24
+ ports :
25
+ - 5432:5432
26
+
27
+ mariadb :
28
+ image : mariadb:10.5
29
+ env :
30
+ MYSQL_USER : ' root'
31
+ MYSQL_ALLOW_EMPTY_PASSWORD : " true"
32
+ ports :
33
+ - 3306:3306
34
+ options : >-
35
+ --health-cmd="mysqladmin ping"
36
+ --health-interval 10s
37
+ --health-timeout 5s
38
+ --health-retries 3
39
+
40
+ strategy :
41
+ fail-fast : false
42
+ matrix :
43
+ database : ['mariadb', 'pgsql']
44
+ moodle-branch : ['master']
45
+ node : ['14.15']
46
+ php : ['7.3']
47
+
48
+ steps :
49
+ - name : Run plugin setup
50
+ uses : catalyst/catalyst-moodle-workflows/.github/plugin/setup@nvm-workaround
51
+ with :
52
+ extra_php_extensions : []
53
+ extra_plugin_runners : []
54
+ disable_behat : true
55
+ disable_phplint : false
56
+ disable_phpunit : false
57
+ disable_grunt : false
58
+ highest_moodle_branch : ' master'
You can’t perform that action at this time.
0 commit comments