diff --git a/.drone.yml b/.drone.yml index 6ae20f95af6c34afc50d08dfe42671cad86a8b88..0d832f6d3ba63954d9d6efd27c22237f9dd6df47 100644 --- a/.drone.yml +++ b/.drone.yml @@ -84,15 +84,6 @@ pipeline: event: exclude: tag - behat: - group: test - image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci - commands: - - ./vendor/bin/behat --strict - when: - event: - exclude: tag - before-release: image: registry.fpfis.eu/fpfis/httpd-php:${PHP_VERSION}-ci commands: diff --git a/.gitignore b/.gitignore index 7d84ed765d74720e0515d5c64473b2677c9b8400..761bbeda79efa062d2413539f28d783944a1fca5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .DS_Store .idea -behat.yml build composer.lock docker-compose.*.yml diff --git a/README.md b/README.md index c2c3afadeb14ef9afbfafebf2d06d04987be8901..a223d5cb1f4f7e6a6fa653b1e8ad534c3e300a50 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ To set up the project run: A post command hook (`drupal:site-setup`) is triggered automatically after `composer install`. It will make sure that the necessary symlinks are properly setup in the development site. -It will also perform token substitution in development configuration files such as `behat.yml.dist`. +It will also perform token substitution in development configuration files such as `phpunit.xml.dist`. The development site web root should be available in the `build` directory. @@ -129,9 +129,3 @@ To run the phpunit tests: ```bash docker-compose exec web ./vendor/bin/phpunit ``` - -To run the behat tests: - -```bash -docker-compose exec web ./vendor/bin/behat -``` diff --git a/runner.yml.dist b/runner.yml.dist index d667ce522e30f80357fdae094667387b65e9411f..2d03581dcc896f5b9dd697f5b39108be520c9c9d 100644 --- a/runner.yml.dist +++ b/runner.yml.dist @@ -47,11 +47,8 @@ commands: - { task: "run", command: "drupal:drush-setup" } - { task: "run", command: "drupal:settings-setup" } - { task: "run", command: "setup:phpunit" } - - { task: "run", command: "setup:behat" } setup:phpunit: - { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" } - setup:behat: - - { task: "process", source: "behat.yml.dist", destination: "behat.yml" } release: tasks: