Skip to content

Commit a59564f

Browse files
committed
workflow
1 parent f1718a7 commit a59564f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ jobs:
9898
run: moodle-plugin-ci --ansi phpunit --testdox --coverage-text --coverage-clover
9999

100100
- name: privacy
101-
if: ${{ !cancelled() }}
101+
if: ${{ matrix.moodle-branch == 'main'}}
102102
run: vendor/bin/phpunit --colors --no-coverage --testsuite tool_dataprivacy_testsuite,tool_policy_testsuite,core_privacy_testsuite
103103
working-directory: moodle
104104

105105
- name: other
106-
if: ${{ !cancelled() }}
106+
if: ${{ matrix.moodle-branch == 'main'}}
107107
run: vendor/bin/phpunit --colors --no-coverage --testsuite core_availability_testsuite
108108
working-directory: moodle
109109

110110
- name: coveralls
111-
if: ${{ !cancelled() }}
111+
if: ${{ matrix.moodle-branch == 'main'}}
112112
run: moodle-plugin-ci coveralls-upload
113113
env:
114114
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -140,11 +140,11 @@ jobs:
140140
run: moodle-plugin-ci --ansi behat --suite="classic" --profile chrome
141141

142142
- name: admin bookmarks
143-
if: ${{ !cancelled() }}
143+
if: ${{ matrix.moodle-branch == 'main'}}
144144
run: moodle-plugin-ci --ansi behat --auto-rerun=0 --profile chrome public/blocks/admin_bookmarks
145145
working-directory: moodle
146146

147147
- name: admin xmldb
148-
if: ${{ !cancelled() }}
148+
if: ${{ matrix.moodle-branch == 'main'}}
149149
run: moodle-plugin-ci --ansi behat --auto-rerun=0 --profile chrome public/admin/tool/xmldb
150150
working-directory: moodle

0 commit comments

Comments
 (0)