@@ -3,6 +3,11 @@ name: Moodle Plugin CI Tests
3
3
# The workflow is triggered on push to the stable branch, main branch, pull requests and every day at 6:30 UTC.
4
4
on :
5
5
workflow_dispatch :
6
+ inputs :
7
+ tags :
8
+ description : ' Adds an additional tags to the tests. It needs the && to concat other tags and a starting @. Usage: "&&@mtmoodle-x"'
9
+ required : false
10
+ default : ' '
6
11
push :
7
12
branches :
8
13
- stable
@@ -198,7 +203,7 @@ jobs:
198
203
continue-on-error : true
199
204
run : |
200
205
moodle-plugin-ci add-plugin --branch ${{ env.BRANCH_NAME }}wiris/moodle-qtype_wq
201
- - name : Add Wiris Quizzes plugin using the stable branch
206
+ - name : Add Wiris Quizzes plugin using the main branch
202
207
if : steps.install-plugin-quizzes.outcome != 'success'
203
208
run : |
204
209
moodle-plugin-ci add-plugin --branch main wiris/moodle-qtype_wq
@@ -226,7 +231,6 @@ jobs:
226
231
# Run Behat tests on all Moodle branches.
227
232
- name : Behat features for ( ${{ matrix.moodle-branch }} on PHP ${{ matrix.php }} )
228
233
id : behat
229
- if : ${{ always() }}
230
234
run : |
231
235
case "${{ matrix.moodle-branch }}" in
232
236
"MOODLE_38_STABLE"|"MOODLE_39_STABLE"|"MOODLE_311_STABLE")
@@ -242,7 +246,8 @@ jobs:
242
246
TAG="@filter"
243
247
;;
244
248
esac
245
- moodle-plugin-ci behat --tags=$TAG --profile ${{ matrix.browser }} --auto-rerun=2 --verbose -vvv
249
+ moodle-plugin-ci behat --tags=$TAG${{ github.event.inputs.tags }} --profile ${{ matrix.browser }} --auto-rerun=2 --verbose -vvv
250
+
246
251
- name : Upload Behat Faildump
247
252
if : ${{ failure() && steps.behat.outcome == 'failure' }}
248
253
uses : actions/upload-artifact@v4
0 commit comments