Skip to content

Commit

Permalink
add php8.3 to drone (#129)
Browse files Browse the repository at this point in the history
* add php8.3

* update

* Update .drone.yml

---------

Co-authored-by: Harald Leithner <[email protected]>
  • Loading branch information
heelc29 and HLeithner authored Jul 17, 2024
1 parent 473f66a commit 692d794
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
};

Expand Down Expand Up @@ -103,4 +103,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"),
]
22 changes: 21 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,27 @@ volumes:
path: /tmp/composer-cache
name: composer-cache
---
kind: pipeline
name: PHP 8.3
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: 60184ca6b1700d5de9b9e558725bdf11c72cc94a0de5900657293fe51fee4781
hmac: 57f86527d0ba2cd9f32d4bfd617987c90b632f30e36f87c67d5668cd39b794b9

...

0 comments on commit 692d794

Please sign in to comment.