Skip to content

Commit

Permalink
FIX Move test requirements out of require-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 20, 2022
1 parent 07e1b32 commit 62c49ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github export-ignore
.cow.json export-ignore
.cow export-ignore
.gitattributes export-ignore
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
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:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
extra_jobs: |
- endtoend: true
endtoend_suite: admin
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"silverstripe/login-forms": "4.8.x-dev"
},
"require-dev": {
"silverstripe/recipe-testing": "^2",
"silverstripe/frameworktest": "^0.4.2",
"mikey179/vfsstream": "^1.6.10"
"phpunit/phpunit": "^9.5"
},
"extra": {
"project-files": [
Expand Down

0 comments on commit 62c49ca

Please sign in to comment.