Skip to content

CI - use Ubuntu 20.04 and composer v2, fix detecting phpunit version#221

Merged
zdenekdrahos merged 3 commits into
masterfrom
ci-20210206
Feb 6, 2021
Merged

CI - use Ubuntu 20.04 and composer v2, fix detecting phpunit version#221
zdenekdrahos merged 3 commits into
masterfrom
ci-20210206

Conversation

@zdenekdrahos

@zdenekdrahos zdenekdrahos commented Feb 6, 2021

Copy link
Copy Markdown
Member

1 warning: Ubuntu-latest workflows will use Ubuntu-20.04 soon.
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.
@zdenekdrahos zdenekdrahos force-pushed the ci-20210206 branch 6 times, most recently from 85decac to b8486a6 Compare February 6, 2021 08:25
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
@zdenekdrahos zdenekdrahos changed the title CI - Ubuntu/composer version, docker CI - Ubuntu/composer/phpunit version, TODO: docker build Feb 6, 2021
@zdenekdrahos zdenekdrahos changed the title CI - Ubuntu/composer/phpunit version, TODO: docker build CI - use Ubuntu 20.04 and composer v2, fix detecting phpunit version Feb 6, 2021
@zdenekdrahos zdenekdrahos marked this pull request as ready for review February 6, 2021 08:37
@zdenekdrahos zdenekdrahos merged commit 379fcdb into master Feb 6, 2021
@zdenekdrahos zdenekdrahos deleted the ci-20210206 branch February 6, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant