Merge pull request #390 from creative-commoners/pulls/6.0/recipe-plug… #1374
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| name: CI | |
| # Do not run if this is a pull-request from same repo i.e. not a fork repo | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
| uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 | |
| with: | |
| # installer contains a sample behat.yml file, though there are no behat tests to run | |
| endtoend: false | |
| # require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike | |
| # regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer` | |
| composer_require_extra: silverstripe/recipe-testing:^4 silverstripe/frameworktest:^2 mikey179/vfsstream:^1.6.10 | |
| extra_jobs: | | |
| - endtoend: true | |
| endtoend_suite: admin | |
| endtoend_config: vendor/silverstripe/admin/behat.yml | |
| - endtoend: true | |
| endtoend_suite: asset-admin | |
| endtoend_config: vendor/silverstripe/asset-admin/behat.yml | |
| - endtoend: true | |
| endtoend_suite: cms | |
| endtoend_config: vendor/silverstripe/cms/behat.yml | |
| - endtoend: true | |
| endtoend_suite: htmleditor-tinymce | |
| endtoend_config: vendor/silverstripe/htmleditor-tinymce/behat.yml |