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

Migrate from Travis CI to GitHub Actions #98

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Migrate from Travis CI to GitHub Actions #98

merged 1 commit into from
Jan 19, 2021

Conversation

amotl
Copy link
Member

@amotl amotl commented Jan 12, 2021

Hi there,

this patch removes Travis CI and adds GitHub Actions instead. This CI setup is really fast.

With kind regards,
Andreas.

@amotl amotl force-pushed the amo/modernize-ci branch 16 times, most recently from 0f5f032 to 69d31d1 Compare January 12, 2021 04:50
@amotl amotl requested review from nomicode and seut January 12, 2021 05:03
@amotl amotl marked this pull request as ready for review January 12, 2021 05:04
@amotl amotl requested a review from a team January 12, 2021 05:04
@amotl amotl mentioned this pull request Jan 12, 2021
1 task
Comment on lines 63 to 71
- name: Upload coverage
continue-on-error: true
run: |

# Run all commands, but don't mask exit code
exitcode=0; on_error() { exitcode=1; }; trap on_error ERR

# Upload to Coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v

# Upload to Scrutinizer
ocular code-coverage:upload --format=php-clover build/logs/clover.xml

exit $exitcode
Copy link
Member Author

@amotl amotl Jan 12, 2021

Choose a reason for hiding this comment

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

We will yet have to provide authentication tokens for Coveralls and Scrutinizer to GHA before integrating this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

Really cool, thanks! Just added a comment related to the composer.lock.

composer.lock Show resolved Hide resolved
@amotl
Copy link
Member Author

amotl commented Jan 12, 2021

Hi @matthijskrul,

after integrating this, it will probably unlock the possibility to finally merge #97.

Cheers,
Andreas.

Copy link
Member

@seut seut left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@nomicode nomicode left a comment

Choose a reason for hiding this comment

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

this doesn't touch docs (so no need for approval I think) but lgtm

@nomicode
Copy link
Contributor

nomicode commented Jan 13, 2021

needs a travis bump @amotl

[edit: it needs travis removed from the branch protections or the check will always block the PR]

Also, add testing for PHP 7.4.
@amotl amotl merged commit 1cfa923 into master Jan 19, 2021
@amotl amotl deleted the amo/modernize-ci branch January 19, 2021 17:06
@amotl amotl mentioned this pull request Apr 27, 2021
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.

None yet

3 participants