Skip to content

Commit

Permalink
Enable tests for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nibra committed Aug 15, 2022
1 parent 9d60fbf commit bcdb8d4
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 225 deletions.
7 changes: 4 additions & 3 deletions .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.1" 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 @@ -111,5 +111,6 @@ local pipeline(name, phpversion, params) = {
pipeline("7.3", "7.3", "--prefer-stable"),
pipeline("7.4", "7.4", "--prefer-stable"),
pipeline("8.0", "8.0", "--prefer-stable"),
pipeline("8.1", "8.1", "--prefer-stable")
pipeline("8.1", "8.1", "--prefer-stable"),
pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"),
]
Loading

0 comments on commit bcdb8d4

Please sign in to comment.