From 1899f93e399a5183eb6e5e72aacc8c924c416ac2 Mon Sep 17 00:00:00 2001 From: Christian Heel <66922325+heelc29@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:17:14 +0200 Subject: [PATCH] add php8.3 to drone (#60) --- .drone.jsonnet | 3 ++- .drone.yml | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index abb487ac..03244130 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -25,7 +25,7 @@ local composer(phpversion, params) = { local phpunit(phpversion) = { name: "PHPUnit", image: "joomlaprojects/docker-images:php" + phpversion, - [if phpversion == "8.3" then "failure"]: "ignore", + [if phpversion == "8.4" then "failure"]: "ignore", commands: ["vendor/bin/phpunit"] }; @@ -113,4 +113,5 @@ local pipeline(name, phpversion, params) = { pipeline("8.1 lowest", "8.1", "--prefer-stable --prefer-lowest"), pipeline("8.1", "8.1", "--prefer-stable"), pipeline("8.2", "8.2", "--prefer-stable"), + pipeline("8.3", "8.3", "--prefer-stable"), ] diff --git a/.drone.yml b/.drone.yml index 58cd5b31..0f0d5f6a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -124,7 +124,32 @@ volumes: path: /tmp/composer-cache name: composer-cache --- +kind: pipeline +name: PHP 8.3 +services: +- image: memcached:alpine + name: memcached +- image: redis:alpine + name: redis +steps: +- commands: + - php -v + - composer update --prefer-stable + image: joomlaprojects/docker-images:php8.3 + name: composer + volumes: + - name: composer-cache + path: /tmp/composer-cache +- commands: + - vendor/bin/phpunit + image: joomlaprojects/docker-images:php8.3 + name: PHPUnit +volumes: +- host: + path: /tmp/composer-cache + name: composer-cache +--- kind: signature -hmac: 1c6bac6f08e700bf838ea12bf43aafe8fea392b1b77b1856ba0ff6e43fcde847 +hmac: 62e1181809730e48a4f4a3e6b4cb9e566b585910805749be5b1877a98dc865a1 ...