Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 3 commits into from
Feb 6, 2021

Conversation

zdenekdrahos
Copy link
Member

@zdenekdrahos zdenekdrahos commented Feb 6, 2021

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant