Files
opencloud/tests/acceptance/docker/src/acceptance.yml
Swikriti Tripathi 9e73221a68 [docs-only]Update testing docs (#5444)
* Update testing docs

* make ocis run with new config

* fix wording

* fix sording

* fix command and run.sh

* Edit makefile to make it dynamically run suites

* adress reviews

* address reviews

* address reviews
2023-02-10 11:50:03 +01:00

24 lines
723 B
YAML

services:
acceptance-tests:
image: owncloudci/php:7.4
command: /bin/bash /test/run-tests.sh
environment:
OCIS_ROOT: /drone/src
TEST_OCIS: "true"
RUN_ON_OCIS: "true"
TEST_SERVER_URL: https://ocis-server:9200
TEST_WITH_GRAPH_API: "true"
STORAGE_DRIVER: $STORAGE_DRIVER
TEST_SOURCE: $TEST_SOURCE
BEHAT_SUITE: ${BEHAT_SUITE:-}
BEHAT_FEATURE: ${BEHAT_FEATURE:-}
DIVIDE_INTO_NUM_PARTS: $DIVIDE_INTO_NUM_PARTS
RUN_PART: $RUN_PART
env_file:
- ../../../../.drone.env
volumes:
- ./run-tests.sh:/test/run-tests.sh
- ../../../../:/drone/src
- ../../../../vendor-bin/behat/composer.json:/tmp/vendor-bin/behat/composer.json