-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Build: Switch from Travis to GitHub actions #2021
Conversation
.github/workflows/test.yml
Outdated
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- reopened | ||
- synchronize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we try to rely more on defaults here, like in https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-using-a-list-of-events?
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
on: [push, pull_request] |
In particular, the edited
event seems to run when a review is edited if I understand it correctly. Docs are pretty scarce on what each event means, unfortunately...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this from one of my projects and afair I did this so tags don't trigger a run as my project had much more jobs and was "expensive". Let's go with the default and change it if needed. I've changed this to your suggestion.
Replaces Travis functionality.
Travis has been replaced with GitHub Actions. See 63c98b8
4a06009
to
e73861b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Too bad we can't try it on the PR for some reason but let's get it merged and we'll see if that works.
Replaces Travis functionality.
Follow up tasks: