Skip to content

Instantly share code, notes, and snippets.

@ataylorme
Created February 25, 2019 21:18
Show Gist options
  • Save ataylorme/323acb29747d94ff8b37545b2c3e4eb2 to your computer and use it in GitHub Desktop.
Save ataylorme/323acb29747d94ff8b37545b2c3e4eb2 to your computer and use it in GitHub Desktop.
Lando file for running WordHat tests locally
name: ataylor-local-behat
services:
# Spin up a PHP CI service for Behat, PHPUnit, etc.
ci_php:
type: php:custom
overrides:
image: quay.io/pantheon-public/build-tools-ci:4.x
# Additional "lando" commands
tooling:
composer:
service: ci_php
composer_install:
service: ci_php
cmd: composer install --no-ansi --no-interaction --optimize-autoloader --no-progress
wp:
service: ci_php
wordhat:
description: Run WordHat
cmd: ./.ci/local-behat.sh
service: ci_php
wordhat_cleanup:
description: Run WordHat cleanup
cmd: ./.ci/local-behat-cleanup.sh
service: ci_php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment