Skip to content

Conversation

chadwhitacre
Copy link
Member

@chadwhitacre chadwhitacre commented Aug 18, 2020

This is a fairly wooden port of the Travis CI config to GitHub actions. Note that this doesn't remove Travis yet. I figure we should run both in parallel for a bit to make sure GitHub Actions is trustworthy. E.g., there might be some caching we want to do to speed up the build, I didn't look into that yet.

Presumably there's some button clicking that needs to happen before this'll run in the main repo. Here's a good run in my fork:

https://github.com/chadwhitacre/onpremise/runs/998127947

And here's a sample bad run in my fork, showing that test failures indeed break the build:

https://github.com/chadwhitacre/onpremise/runs/998137076

Part of #627.

Part of #627, sets us up for expanding the OS matrix we test against.
@chadwhitacre chadwhitacre changed the title Port to GitHub Actions ci(github): Reimplement CI in GitHub Actions Aug 18, 2020
@chadwhitacre chadwhitacre marked this pull request as ready for review August 18, 2020 12:01
@chadwhitacre
Copy link
Member Author

Ready for review, @BYK et al.

@BYK BYK self-requested a review August 20, 2020 19:01
@BYK BYK self-assigned this Aug 20, 2020
Copy link
Member

@BYK BYK left a comment

Choose a reason for hiding this comment

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

This is just brilliant 🎇

Thank you so much for doing this!

@BYK
Copy link
Member

BYK commented Aug 20, 2020

GHA has been quite stable for some other things so I think it should be safe to remove Travis and see if we can make this even better. Maybe separate install and actual test steps? I don't know if we can leverage any caching easily as you indicated but why not try?

@BYK BYK merged commit 4b8d424 into getsentry:master Aug 20, 2020
@@ -0,0 +1,33 @@
name: test
on: push
Copy link
Member

Choose a reason for hiding this comment

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

Oh wait, this will only run on branch pushes. We should also add pull_request for this to be a proper commit check, right @chadwhitacre?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, good call. Maybe #639 does what we want?

@chadwhitacre chadwhitacre deleted the ci/duplicate-as-github-action branch August 21, 2020 01:55
BYK added a commit that referenced this pull request Aug 27, 2020
Since #634 and #639 we are using GitHub Actions for pushes and PRs and don't need Travis CI. Thanks for all the 🐟
@BYK BYK mentioned this pull request Aug 27, 2020
BYK added a commit that referenced this pull request Aug 27, 2020
Since #634 and #639 we are using GitHub Actions for pushes and PRs and don't need Travis CI. Thanks for all the 🐟
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants