Skip to content

Commit

Permalink
Update the moodle plugin CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasanthlmsace committed Oct 17, 2024
1 parent 15e0f83 commit 809c8ab
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 56 deletions.
96 changes: 45 additions & 51 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,21 @@ jobs:
- php: '8.2'
moodle-branch: 'MOODLE_403_STABLE'
database: 'mariadb'
# - php: '8.1'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'pgsql'
# - php: '8.0'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'mariadb'
# - php: '8.0'
# moodle-branch: 'MOODLE_403_STABLE'
# database: 'pgsql'
# - php: '8.0'
# moodle-branch: 'MOODLE_400_STABLE'
# database: 'pgsql'
# - php: '8.0'
# moodle-branch: 'MOODLE_401_STABLE'
# database: 'pgsql'
# - php: '7.4'
# moodle-branch: 'MOODLE_400_STABLE'
# database: 'pgsql'
# - php: '7.4'
# moodle-branch: 'MOODLE_401_STABLE'
# database: 'mariadb'
- php: '8.2'
moodle-branch: 'MOODLE_403_STABLE'
database: 'pgsql'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
database: 'mariadb'
- php: '8.1'
moodle-branch: 'MOODLE_403_STABLE'
database: 'pgsql'
- php: '8.0'
moodle-branch: 'MOODLE_402_STABLE'
database: 'mariadb'
- php: '8.0'
moodle-branch: 'MOODLE_402_STABLE'
database: 'pgsql'

steps:
- name: Check out repository code
Expand Down Expand Up @@ -80,46 +74,46 @@ jobs:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}

# - name: PHP Lint
# if: ${{ always() }}
# run: moodle-plugin-ci phplint
- name: PHP Lint
if: ${{ always() }}
run: moodle-plugin-ci phplint

# - name: PHP Copy/Paste Detector
# if: ${{ always() }}
# run: moodle-plugin-ci phpcpd
- name: PHP Copy/Paste Detector
if: ${{ always() }}
run: moodle-plugin-ci phpcpd

# - name: PHP Mess Detector
# if: ${{ always() }}
# run: moodle-plugin-ci phpmd
- name: PHP Mess Detector
if: ${{ always() }}
run: moodle-plugin-ci phpmd

# - name: Moodle Code Checker
# if: ${{ always() }}
# run: moodle-plugin-ci codechecker --max-warnings 0
- name: Moodle Code Checker
if: ${{ always() }}
run: moodle-plugin-ci codechecker --max-warnings 0

- name: Moodle PHPDoc Checker
if: ${{ always() }}
run: moodle-plugin-ci phpdoc

# - name: Validating
# if: ${{ always() }}
# run: moodle-plugin-ci validate
- name: Validating
if: ${{ always() }}
run: moodle-plugin-ci validate

# - name: Check upgrade savepoints
# if: ${{ always() }}
# run: moodle-plugin-ci savepoints
- name: Check upgrade savepoints
if: ${{ always() }}
run: moodle-plugin-ci savepoints

# - name: Mustache Lint
# if: ${{ always() }}
# run: moodle-plugin-ci mustache
- name: Mustache Lint
if: ${{ always() }}
run: moodle-plugin-ci mustache

# - name: Grunt
# if: ${{ always() }}
# run: moodle-plugin-ci grunt
- name: Grunt
if: ${{ always() }}
run: moodle-plugin-ci grunt

# - name: PHPUnit tests
# if: ${{ always() }}
# run: moodle-plugin-ci phpunit
- name: PHPUnit tests
if: ${{ always() }}
run: moodle-plugin-ci phpunit

# - name: Behat features
# if: ${{ always() }}
# run: moodle-plugin-ci behat --profile chrome
- name: Behat features
if: ${{ always() }}
run: moodle-plugin-ci behat --profile chrome
2 changes: 1 addition & 1 deletion classes/template_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function __construct() {
}

/**
* Generate title.s
* Generate title.
*
* @param \stdClass $data
* @return mixed
Expand Down
1 change: 1 addition & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ body.format-kickstart .form-control .fa-search {
float: left;
}
}

body#page-course-format-kickstart-template.template-designer-format #fitem_id_coursetype {
display: none;
}
Expand Down
8 changes: 4 additions & 4 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
* Version details
*
* @package format_kickstart
* @copyright 2021 bdecent gmbh <https://bdecent.de>
* @copyright 2023 bdecent gmbh <https://bdecent.de>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023112700; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022030300; // Requires this Moodle version.
$plugin->version = 2023112703; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022041900; // Requires this Moodle version.
$plugin->release = 'Version 1.3';
$plugin->component = 'format_kickstart'; // Full name of the plugin (used for diagnostics).
$plugin->supported = [40, 402];
$plugin->supported = [400, 403];
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 809c8ab

Please sign in to comment.