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

Update travis testing #570

Open
Berdir opened this issue Feb 22, 2020 · 4 comments
Open

Update travis testing #570

Berdir opened this issue Feb 22, 2020 · 4 comments

Comments

@Berdir
Copy link
Contributor

Berdir commented Feb 22, 2020

Didn't want to mix this into #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.
@jhedstrom
Copy link
Owner

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

@pfrenssen
Copy link
Collaborator

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.

@jhedstrom
Copy link
Owner

I'm all for this!

@AlexSkrypnyk
Copy link

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

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

No branches or pull requests

4 participants