2022-12-10 12:14:38 +00:00
|
|
|
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:
|
2022-12-10 12:16:13 +00:00
|
|
|
STORAGE_PROVIDER: DummyProvider
|
2022-12-10 12:14:38 +00:00
|
|
|
|
|
|
|
- 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:
|
2022-12-10 12:16:13 +00:00
|
|
|
STORAGE_PROVIDER: FileProvider
|
2022-12-10 12:14:38 +00:00
|
|
|
|
|
|
|
- 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:
|
2022-12-10 12:16:13 +00:00
|
|
|
STORAGE_PROVIDER: RedisProvider
|
|
|
|
STORAGE_REDIS_HOST: cache
|
2022-12-10 12:14:38 +00:00
|
|
|
|
|
|
|
- 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:
|
2021-11-24 16:49:20 +00:00
|
|
|
- dockerconfig
|