Skip to content

Commit

Permalink
Enable CI for PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nibra committed Aug 15, 2022
1 parent 147229d commit aaf00a4
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 200 deletions.
10 changes: 6 additions & 4 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ local composer(phpversion, params) = {
volumes: volumes,
commands: [
"php -v",
"composer update " + params
"composer update " + params,
]
};

local phpunit(phpversion) = {
name: "PHPUnit",
image: "joomlaprojects/docker-images:php" + phpversion,
[if phpversion == "8.0" then "failure"]: "ignore",
[if phpversion == "8.2" then "failure"]: "ignore",
commands: ["vendor/bin/phpunit"]
};

Expand Down Expand Up @@ -61,7 +61,7 @@ local pipeline(name, phpversion, params) = {
depends: [ "composer" ],
commands: [
"vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards",
"vendor/bin/phpcs -p --report=full --extensions=php --standard=ruleset.xml src/"
"vendor/bin/phpcs --standard=ruleset.xml src/"
]
},
{
Expand Down Expand Up @@ -110,5 +110,7 @@ local pipeline(name, phpversion, params) = {
pipeline("7.2", "7.2", "--prefer-stable"),
pipeline("7.3", "7.3", "--prefer-stable"),
pipeline("7.4", "7.4", "--prefer-stable"),
pipeline("8.0", "8.0", "--ignore-platform-reqs --prefer-stable")
pipeline("8.0", "8.0", "--prefer-stable"),
pipeline("8.1", "8.1", "--prefer-stable"),
pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"),
]
Loading

0 comments on commit aaf00a4

Please sign in to comment.