Browse Source

This branch supports 3.8 -> 3.10

MOODLE_38_STABLE
Dan Marsden 4 years ago
parent
commit
59a5291948
  1. 17
      .github/workflows/ci.yml
  2. 1
      version.php

17
.github/workflows/ci.yml

@ -27,8 +27,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.3', '7.4']
database: ['pgsql', 'mariadb']
include:
- php: '7.1'
moodle-branch: 'MOODLE_38_STABLE'
database: 'pgsql'
- php: '7.2'
moodle-branch: 'MOODLE_39_STABLE'
database: 'mariadb'
- php: '7.4'
moodle-branch: 'MOODLE_310_STABLE'
database: 'pgsql'
steps:
- name: Check out repository code
uses: actions/checkout@v2
@ -45,7 +54,7 @@ jobs:
- name: Setup PHP environment
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
php-version: ${{ matrix.php }}
extensions: mbstring, pgsql, mysqli
tools: phpunit
@ -63,7 +72,7 @@ jobs:
env:
DB: ${{ matrix.database }}
# TODO: Omitted MOODLE_BRANCH results in regex failure, investigate.
MOODLE_BRANCH: 'master'
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
- name: Run phplint
run: moodle-plugin-ci phplint

1
version.php

@ -29,3 +29,4 @@ $plugin->release = '3.9.1';
$plugin->maturity = MATURITY_STABLE;
$plugin->cron = 0;
$plugin->component = 'mod_attendance';
$plugin->supported = [38, 310];

Loading…
Cancel
Save