CI - use Ubuntu 20.04 and composer v2, fix detecting phpunit version#221
Merged
Conversation
1 warning: Ubuntu-latest workflows will use Ubuntu-20.04 soon.
1721d8a to
ea15bf5
Compare
https://github.com/EdgedesignCZ/phpqa/runs/1844081585?check_suite_focus=true#step:5:81 You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
85decac to
b8486a6
Compare
https://github.com/EdgedesignCZ/phpqa/runs/1844108206?check_suite_focus=true#step:6:40 `phpqa tools` shows phpunit 9.5.2 (loaded from composer.lock) No version is displayed in html artifact for php7.4. But it works for php8.0. - php8 - https://github.com/EdgedesignCZ/phpqa/runs/1844183851?check_suite_focus=true#step:6:27 - php7.4 - https://github.com/EdgedesignCZ/phpqa/runs/1844183845?check_suite_focus=true#step:6:27 sh: 1: exec: "/home/runner/work/phpqa/phpqa/vendor/phpunit/phpunit/phpunit" --version: not found Related to 148151c: - PHP8 warning: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. - https://github.com/symfony/process/blob/5.x/CHANGELOG.md#500
b8486a6 to
379fcdb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
phpunit 9.5.2,php 7.4