Releases: moodlehq/moodle-plugin-ci
4.4.1
Added
- New
--no-plugin-node
option added to theinstall
command, to be able to skip the installation of any NodeJS stuff that the plugin may include. The previous default has not changed and both Moodle's and plugin's NodeJS installation continues happening normally.
Changed
- Updated project dependencies to current moodle-cs v3.4.1, moodle-local_moodlecheck v1.3.0 and moodle-local_ci v1.0.28 releases.
Fixed
- Some small fixes to documentation.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.4.0
Added
- New
--selenium
option orMOODLE_BEHAT_SELENIUM_IMAGE
env variable to thebehat
command, to be able to specify the Selenium Docker image to use (defaults apply if not specified). - New
MOODLE_BEHAT_CHROME_CAPABILITIES
andMOODLE_BEHAT_FIREFOX_CAPABILITIES
env variables to configure additional browser capabilities (they will be needed - internally - soon, to allow the command to perform some special behat runs). - Extend own CI tests to cover:
- PHP 8.3 (all tests).
selfupdate
PHAR command (unit and integration tests).
Changed
- Updated all uses of
actions/checkout
fromv3
(using node 16) tov4
(using node 20), because actions using node 16 are deprecated and will stop working in the future. - ACTION SUGGESTED: In order to avoid the node 16 deprecation warnings, update your workflows to use
actions/checkout@v4
. Note: the same may apply to other actions being used in your workflows (check your latest runs). - Updated project dependencies to current moodle-cs.
Deprecated
- The
phpcpd
command (that uses the PHP Copy/Paste Detector, now abandoned) has been deprecated in thismoodle-plugin-ci
release (4.4.0) and will be removed in 5.0.0. No replacement is planned. - ACTION SUGGESTED: In order to avoid deprecation warnings or annotations, proceed to remove this command from your workflows. Note that any use will throw an error in the next major release (5.0.0).
- The
master
branch of Moodle upstream repositories has been moved tomain
and will stop working soon (see MDLSITE-7418 for details). GitHub workflows will start emitting warnings/annotations when uses of themaster
branch are detected. - ACTION SUGGESTED: In order to avoid deprecation warnings or annotations, proceed to replace
master
bymain
in your workflows. Note that any use of the former (to be removed) will throw an error in the future.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.3.2
Changed
- Modified internal CI scripts towards better Codecov future support.
- Updated project dependencies to current moodle-cs.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.3.1
Added
- Added support for the
--todo-comment-regex
option to thephpcs
command. When specified, all the todo comments (TODO
and@todo
) are inspected to ensure that they contain some text matching the regular expression (a tracker issue key:MDL-[0-9]+
, a link to GitHub:github.com/moodle/moodle/pull/[0-9]+
, ... or any other valid alternative).
Changed
- Updated project dependencies to current moodle-cs and moodle-local_ci versions.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.3.0
Added
- Added Moodle App Behat testing support.
- Added support for the
--exclude
option to thephpcs
command.
Changed
- Updated project dependencies to current moodle-cs and moodle-local_ci versions.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.2.0
Added
- Added support for the
--tags
and--name
options to thebehat
command. - Added support for the
--configure
,--testsuite
and--filter
options to thephpunit
command.
Changed
-
The default branch of this repository has been renamed from
master
tomain
. You can visit this issue (#258) for more information about the potential actions required (if you use this, or clones/forks of this, repository). -
ACTION SUGGESTED: If you are using GitHub Actions, it's recomended to use
!cancelled()
instead ofalways()
for moodle-plugin-ci tests. Adding a final step that always returns failure when the workflow is cancelled will ensure that cancelled workflows are not marked as successful. For a working example, please reference the updatedgha.dist.yml
file. -
ACTION SUGGESTED: For some (unknown) reason, Travis environments with PHP 8.2 have started to fail with error:
php: error while loading shared libraries: libonig.so.5
To avoid that problem, it's recommended to to add the
libonig5
package to thetravis.yml
file. For a working example, please reference the updated.travis.dist.yml
file. -
Updated project dependencies to current moodle-cs and moodle-local_moodlecheck versions.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.1.8
Changed
- Updated project dependencies to current moodle-cs version.
Added
- Added back the
selfupdate
command, that enables easy updates of the PHAR package. Note this is experimental and may show some warnings with PHP 8.x.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.1.7
Changed
- Updated project dependencies to current moodle-local_ci version.
Added
- Added some docs regarding the
moodle-plugin-ci
use in local dev environments.
Fixed
- Fixed the
phpcmd
command for compatibility with versions^2.14.0
.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.1.6
Changed
- Updated project dependencies to current moodle-cs and moodle-local_ci versions.
Fixed
- Updated the
.gitattributes
file towards better packaging and distribution.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.1.5
Changed
- Updated project dependencies to current moodle-cs version.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.