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

1
version.php

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

Loading…
Cancel
Save