Skip to content

Add GitHub Actions #1101

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

Merged
merged 30 commits into from
Jun 20, 2021
Merged

Add GitHub Actions #1101

merged 30 commits into from
Jun 20, 2021

Conversation

jbelien
Copy link
Member

@jbelien jbelien commented Dec 15, 2020

Close #1100

@jbelien jbelien self-assigned this Dec 15, 2020
@jbelien
Copy link
Member Author

jbelien commented Dec 15, 2020

I've kept it simple for now.

I'll try to add deps="low" and deps="high" (from current Travis CI setup).

@jbelien jbelien mentioned this pull request Dec 19, 2020
@jbelien
Copy link
Member Author

jbelien commented Jan 15, 2021

Still to "fix":

  • Find out why IP2LocationBinary is failing
  • Wait for geoip extension for PHP 8.0 is available

jbelien added 2 commits March 13, 2021 17:08
GeoIP extensions is not (yet?) available for PHP 8.0.
Disable test for IP2LocationBinary because it needs binary file.
Travis CI test has also never passed.
@jbelien
Copy link
Member Author

jbelien commented Mar 13, 2021

Once this is merged, I'll also add a separate GitHub Actions workflow in each provider for testing in "sub-repositories".

@jbelien jbelien marked this pull request as ready for review March 13, 2021 16:14
@jbelien jbelien requested review from atymic and Nyholm March 13, 2021 16:14
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Well done!

fail-fast: false
matrix:
php-version: ['7.3', '7.4', '8.0']
provider:
Copy link
Member

Choose a reason for hiding this comment

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

We could do something like this if we don't want to list all providers:

https://github.com/brefphp/extra-php-extensions/blob/master/.github/workflows/ci.yml#L19

Copy link
Member Author

Choose a reason for hiding this comment

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

I must admit I'm not sure what the echo "::set-output name=list::$(ls layers | jq -R -s -c 'split("\n")[:-1]')" command does 😁

jbelien added 4 commits March 14, 2021 10:16
Use `composer update` insted of `composer install`.
Use `composer update` insted of `composer install`.
@jbelien
Copy link
Member Author

jbelien commented Jun 20, 2021

Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on.
--- Source: https://travis-ci.org/

@jbelien jbelien merged commit 8cec203 into master Jun 20, 2021
@jbelien jbelien deleted the github-actions branch June 20, 2021 13:32
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.

Migration to GitHub Actions
2 participants