drupalextension icon indicating copy to clipboard operation
drupalextension copied to clipboard

Update travis testing

Open Berdir opened this issue 5 years ago • 4 comments

Didn't want to mix this into https://github.com/jhedstrom/drupalextension/pull/569 but wondering if we could improve how the travis set up works:

Rough ideas:

  • Install drupal as a new project with composer create-project drupal/recommended-project
  • Add a local composer repository pointing to the behatextension checkout, similar to DrupalCI: composer config repositories.ancillary '{"type": "path", "url": "/var/lib/drupalci/workdir/redirect", "options": {"symlink": false}}', then install it inside. That will ensure to install compatible versions for Drupal 8/9.
  • From the on, run the behat testing inside the drupal folder
  • Possibly split D7 and D8 into separate scripts, half the lines start with 3 different variations of Drupal version checks and that makes it quite hard to read I think.
  • Add Drupal 9 to the test matrix, but we'll need to split PHP versions as Drupal9 requires PHP 7.3.

Berdir avatar Feb 22 '20 11:02 Berdir

I would love to modernize/simplify/update our test setup. It's quite convoluted for historic reasons (pre-dates composer, etc.)

jhedstrom avatar Mar 11 '20 18:03 jhedstrom

We should probably consider moving away from Travis since they are no longer offering a free tier for open source projects. A popular alternative is GitHub Actions.

pfrenssen avatar Mar 07 '22 11:03 pfrenssen

I'm all for this!

jhedstrom avatar Mar 07 '22 16:03 jhedstrom

Can this be closed since the project is using GitHub actions now.

AlexSkrypnyk avatar Apr 24 '23 13:04 AlexSkrypnyk