php-resque/.woodpecker/.test.yml

26 lines
583 B
YAML
Raw Normal View History

matrix:
PHP_VERSION:
- 7.4
- 8.0
- 8.1
2023-02-07 01:18:40 +00:00
- 8.2
pipeline:
unit-tests:
image: php:${PHP_VERSION}-cli
commands:
- apt-get update -yq
- apt-get install git wget procps unzip -y
- pecl install -o -f redis && rm -rf /tmp/pear
- docker-php-ext-enable redis
- docker-php-ext-install pcntl
- wget https://getcomposer.org/download/latest-stable/composer.phar
- php composer.phar install --dev
- php vendor/bin/phpunit --verbose --configuration phpunit.xml
services:
redis:
2023-02-07 01:18:40 +00:00
image: redis:7
depends_on:
- lint