Files
QSfera/tests/acceptance/docker/src/acceptance.yml
T
Sawjan GurungandGitHub 60fd953c7e [docs-only] Document running tests using ociswrapper (#6283)
* add README for ociswrapper

* add doc on how to tests env config test suites with ociswrapper

* document running tests using ociswrapper

* update local docker compose setup for running tests

* make ocis able to run with ociswrapper

* update wrapper doc

* run with ociswrapper by default

* ignore md files on codacy

* fix README format
2023-05-16 14:39:17 +05:45

25 lines
798 B
YAML

services:
acceptance-tests:
image: owncloudci/php:7.4
working_dir: /drone/src
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"
OCIS_WRAPPER_URL: http://ocis-server:5000
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