Abel Hoogeveen
b5bf0425f3
Some checks failed
continuous-integration/drone/push Build is failing
After careful deliberation it was decided to merge ObjectStorage into Core, as it's slowly getting used by every part of FuzeWorks.
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
|
|
services:
|
|
- name: cache
|
|
image: redis
|
|
|
|
steps:
|
|
- name: composer
|
|
image: composer:latest
|
|
commands:
|
|
- composer install
|
|
|
|
- name: PHP81CoreTest
|
|
image: registry.i15.nl/i15/fuzephp:8.1-alpine
|
|
commands:
|
|
- docker-php-ext-enable xdebug
|
|
- vendor/bin/phpunit -c test/phpunit.xml --testsuite core
|
|
|
|
- name: PHP81DummyProviderTest
|
|
image: registry.i15.nl/i15/fuzephp:8.1-alpine
|
|
commands:
|
|
- docker-php-ext-enable xdebug
|
|
- vendor/bin/phpunit -c test/phpunit.xml --testsuite storage
|
|
environment:
|
|
OBJECTSTORAGE_PROVIDER: DummyProvider
|
|
|
|
- name: PHP81FileProviderTest
|
|
image: registry.i15.nl/i15/fuzephp:8.1-alpine
|
|
commands:
|
|
- docker-php-ext-enable xdebug
|
|
- vendor/bin/phpunit -c test/phpunit.xml --testsuite storage
|
|
environment:
|
|
OBJECTSTORAGE_PROVIDER: FileProvider
|
|
|
|
- name: PHP81RedisProviderTest
|
|
image: registry.i15.nl/i15/fuzephp:8.1-alpine
|
|
commands:
|
|
- docker-php-ext-enable xdebug
|
|
- vendor/bin/phpunit -c test/phpunit.xml --testsuite storage
|
|
environment:
|
|
OBJECTSTORAGE_PROVIDER: RedisProvider
|
|
OBJECTSTORAGE_REDIS_HOST: cache
|
|
|
|
- name: coverage
|
|
image: registry.i15.nl/i15/fuzephp:8.1-alpine
|
|
commands:
|
|
- docker-php-ext-enable xdebug
|
|
- vendor/bin/phpunit -c test/phpunit.xml --testsuite core --coverage-text
|
|
|
|
image_pull_secrets:
|
|
- dockerconfig |