Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Build pipeline fix, drop Drupal <10.1 support, flag PHP 8.2 support #100

Merged
merged 5 commits into from
Apr 19, 2024

Conversation

mxr576
Copy link
Collaborator

@mxr576 mxr576 commented Apr 8, 2024

also fix QA pipeline

Closes #93.

@mxr576 mxr576 marked this pull request as ready for review April 8, 2024 12:44
@@ -139,10 +139,16 @@
},
"scripts": {
"post-install-cmd": [
"Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
"@symlink-for-local-dev-env"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a replacement of pronovix/simple-symlink

@mxr576 mxr576 requested review from lekob and balazswmann April 8, 2024 12:45
@mxr576 mxr576 changed the title Drop Drupal <10.1 support Build pipeline fix (incl. dropping Drupal <10.1 support) Apr 8, 2024
@mxr576
Copy link
Collaborator Author

mxr576 commented Apr 8, 2024

Current builds are failing due to issues related to this old trick that happened in older versions of Drupal.

https://github.com/Pronovix/swagger_ui_formatter/actions/runs/8597299839/job/23555697813

@mxr576 mxr576 force-pushed the april_fixes branch 3 times, most recently from 3efccf3 to 2f273fc Compare April 8, 2024 14:21
mxr576 added 4 commits April 8, 2024 16:31
also fix QA pipeline
* Use `docker compose` instead of `docker-compose`
* Remove PHP version lock suggestion from .env
@mxr576 mxr576 changed the title Build pipeline fix (incl. dropping Drupal <10.1 support) Build pipeline fix, drop Drupal <10.1 support, flag PHP 8.2 support Apr 8, 2024
This was referenced Apr 8, 2024
@@ -5,5 +5,5 @@ set -e
if [[ ${RUN_PHPUNIT_TESTS} == true ]]; then
# Custom bootstrap file is required to prevent infinite loop caused by symlinking that Drupal's original
# bootstrap file cannot handle.
docker-compose run --rm php ./vendor/bin/phpunit -c web/core -v --debug --printer '\Drupal\Tests\Listeners\HtmlOutputPrinter' --bootstrap=vendor/pronovix/drupal-qa/src/Drupal/PhpUnit/bootstrap.php web/modules/drupal_module/tests/
docker-compose run --rm php ./vendor/bin/phpunit -c web/core -v --debug --printer '\Drupal\Tests\Listeners\HtmlOutputPrinter' --bootstrap=/mnt/files/local_mount/tests/src/bootstrap.php web/modules/drupal_module/tests/
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be an absolute path... ;S

composer.json Outdated Show resolved Hide resolved
@mxr576 mxr576 merged commit 221ccce into Pronovix:master Apr 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.2 compatibility
3 participants