Skip to content

Commit

Permalink
[tests-only] Allow plugin bamarni/composer-bin-plugin (#3063)
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Davis <phil@jankaritech.com>
  • Loading branch information
SwikritiT and phil-davis authored Jul 12, 2022
1 parent 989fefc commit dace224
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The test runner source for API tests
CORE_COMMITID=f1e0bf08b898c7300d4b294c8371f4025d9d99b8
CORE_COMMITID=9e61886b31671be8cea1f43809bb1a5a826e543c
CORE_BRANCH=master
8 changes: 7 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main(ctx):
litmusOcisOldWebdav(),
litmusOcisNewWebdav(),
litmusOcisSpacesDav(),
#virtualViews(),
virtualViews(),
] + ocisIntegrationTests(6) + s3ngIntegrationTests(12)

def buildAndPublishDocker():
Expand Down Expand Up @@ -564,6 +564,8 @@ def virtualViews():
"image": "registry.cern.ch/docker.io/owncloudci/php:7.4",
"commands": [
"cd /drone/src",
"composer self-update",
"composer --version",
"make test-acceptance-api",
],
"environment": {
Expand Down Expand Up @@ -796,6 +798,8 @@ def ocisIntegrationTests(parallelRuns, skipExceptParts = []):
"image": "registry.cern.ch/docker.io/owncloudci/php:7.4",
"commands": [
"cd /drone/src/tmp/testrunner",
"composer self-update",
"composer --version",
"make test-acceptance-api",
],
"environment": {
Expand Down Expand Up @@ -871,6 +875,8 @@ def s3ngIntegrationTests(parallelRuns, skipExceptParts = []):
"image": "registry.cern.ch/docker.io/owncloudci/php:7.4",
"commands": [
"cd /drone/src/tmp/testrunner",
"composer self-update",
"composer --version",
"make test-acceptance-api",
],
"environment": {
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"platform": {
"php": "7.4"
},
"vendor-dir": "./vendor-php"
"vendor-dir": "./vendor-php",
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"require": {
},
Expand Down

0 comments on commit dace224

Please sign in to comment.