Merge pull request #344 from creative-commoners/pulls/4.12/frameworktest

FIX Move test requirements out of require-dev
This commit is contained in:
Guy Sartorelli 2022-12-21 11:01:04 +13:00 committed by GitHub
commit 0d52cbc913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

1
.gitattributes vendored
View File

@ -1,3 +1,4 @@
.github export-ignore
.cow.json export-ignore .cow.json export-ignore
.cow export-ignore .cow export-ignore
.gitattributes export-ignore .gitattributes export-ignore

View File

@ -17,6 +17,9 @@ jobs:
with: with:
# installer contains a sample behat.yml file, though there are no behat tests to run # installer contains a sample behat.yml file, though there are no behat tests to run
endtoend: false 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:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
extra_jobs: | extra_jobs: |
- endtoend: true - endtoend: true
endtoend_suite: admin endtoend_suite: admin

View File

@ -10,9 +10,7 @@
"silverstripe/login-forms": "4.8.x-dev" "silverstripe/login-forms": "4.8.x-dev"
}, },
"require-dev": { "require-dev": {
"silverstripe/recipe-testing": "^2", "phpunit/phpunit": "^9.5"
"silverstripe/frameworktest": "^0.4.2",
"mikey179/vfsstream": "^1.6.10"
}, },
"extra": { "extra": {
"project-files": [ "project-files": [