forked from h5p/moodle-mod_hvp
-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (52 loc) · 1.34 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# .github/workflows/ci.yml
name: ci
on: [push, pull_request]
jobs:
setup:
name: 4.0+
env:
IGNORE_PATHS: tests/fixtures
runs-on: 'ubuntu-latest'
services:
postgres:
image: postgres:10
env:
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 3
ports:
- 5432:5432
mariadb:
image: mariadb:10.5
env:
MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 3
strategy:
fail-fast: false
matrix:
database: ['mariadb', 'pgsql']
moodle-branch: ['master']
node: ['14.15']
php: ['7.3']
steps:
- name: Run plugin setup
uses: catalyst/catalyst-moodle-workflows/.github/plugin/setup@nvm-workaround
with:
extra_php_extensions: []
extra_plugin_runners: []
disable_behat: true
disable_phplint: false
disable_phpunit: false
disable_grunt: false
highest_moodle_branch: 'master'