--- kind: pipeline type: docker name: default steps: - name: install dependencies image: composer volumes: - name: composer-cache path: /tmp/cache environment: COMPOSER_CACHE_DIR: /tmp/cache commands: - composer install --no-progress --no-interaction --ignore-platform-reqs - name: run unit tests image: php:7.4 commands: - vendor/bin/phpunit -c phpunit.xml volumes: - name: composer-cache host: path: /tmp/drone/composer-cache