Skip to content

Commit 8b2d613

Browse files
authored
add php8.3 to drone (#21)
1 parent de59cd7 commit 8b2d613

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.drone.jsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ local composer(phpversion, params) = {
2525
local phpunit(phpversion) = {
2626
name: "PHPUnit",
2727
image: "joomlaprojects/docker-images:php" + phpversion,
28-
[if phpversion == "8.3" then "failure"]: "ignore",
28+
[if phpversion == "8.4" then "failure"]: "ignore",
2929
commands: ["vendor/bin/phpunit"]
3030
};
3131

@@ -103,4 +103,5 @@ local pipeline(name, phpversion, params) = {
103103
pipeline("8.1 lowest", "8.1", "--prefer-stable --prefer-lowest"),
104104
pipeline("8.1", "8.1", "--prefer-stable"),
105105
pipeline("8.2", "8.2", "--prefer-stable"),
106+
pipeline("8.3", "8.3", "--prefer-stable"),
106107
]

.drone.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,27 @@ volumes:
109109
path: /tmp/composer-cache
110110
name: composer-cache
111111
---
112+
kind: pipeline
113+
name: PHP 8.3
114+
steps:
115+
- commands:
116+
- php -v
117+
- composer update --prefer-stable
118+
image: joomlaprojects/docker-images:php8.3
119+
name: composer
120+
volumes:
121+
- name: composer-cache
122+
path: /tmp/composer-cache
123+
- commands:
124+
- vendor/bin/phpunit
125+
image: joomlaprojects/docker-images:php8.3
126+
name: PHPUnit
127+
volumes:
128+
- host:
129+
path: /tmp/composer-cache
130+
name: composer-cache
131+
---
112132
kind: signature
113-
hmac: 812a6c48a35e9428fb83dcf0c0d6f5af2cb4a7d9eadc5104df50ae0a94be79c5
133+
hmac: 8603afe6767960fa19eb1a1027ed45b0d1135bc0dbf9d914e767b15414032ed4
114134

115135
...

0 commit comments

Comments
 (0)