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

Add PHPUnit testing setup for PHP 7.3. #121

Closed
wants to merge 2 commits into from

Conversation

tormi
Copy link
Member

@tormi tormi commented Sep 1, 2020

Work is mostly based on https://agile.coop/blog/drupal-phpunit-tests-lando/. I had to upgrade SQLite version by using .lando/phpunit.sh because of outdated SQLite, see https://www.drupal.org/project/drupal/issues/3107155#comment-13523654. Will try to upgrade PHP to 7.4 in another PR to see if it has more recent SQLite and decide, should we upgrade our default PHP version.

@guncha25, this probably fixes #73.

@tormi
Copy link
Member Author

tormi commented Sep 1, 2020

Yes, PHP 7.4 has suitable SQLite version:

➜  dptests git:(feature/lando-phpunit-php-7.4) ✗ lando php -i | grep "SQLite Library"
SQLite Library => 3.27.2

Should we upgrade our default PHP version now to get rid of this? https://github.com/wunderio/drupal-project/blob/feature/lando-phpunit-php-7.3/.lando/phpunit.sh#L10-L15

@tormi
Copy link
Member Author

tormi commented Sep 1, 2020

Closing in favour of #122 for now.

@tormi tormi closed this Sep 1, 2020
@guncha25 guncha25 deleted the feature/lando-phpunit-php-7.3 branch August 30, 2021 16:26
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.

Add Codeception tool
1 participant