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

Use GitHub actions to test instead of Travis? #312

Closed
mmarchini opened this issue Oct 3, 2019 · 5 comments
Closed

Use GitHub actions to test instead of Travis? #312

mmarchini opened this issue Oct 3, 2019 · 5 comments

Comments

@mmarchini
Copy link
Contributor

Travis takes ~30 minutes to run due to low palatalization of jobs (3 concurrent jobs, and they usually take a few minutes to start). GitHub Actions limit seems to be 20. Might be worth giving it a try.

@richardlau
Copy link
Member

richardlau commented Oct 3, 2019

re. the good first issue label -- it seems from similar PRs to use GitHub actions in other repos on the org the Actions can only be triggered on the PR that is adding the Actions if the branch is in the same repo (i.e. from someone with write access).

@mmarchini
Copy link
Contributor Author

Seems like they fixed it though:

A workflow that specifies a pull_request as the event will always run in the repository that contains that pull_request. So when I raise a pull_request to the upstream repo from a fork of that repo the workflow run will be in that upstream repo.

Ref: https://github.community/t5/GitHub-Actions/Run-a-GitHub-action-on-pull-request-for-PR-opened-from-a-forked/m-p/31147/highlight/true#M690

@mmarchini
Copy link
Contributor Author

Also, this pull request nodejs/remark-preset-lint-node#21 is from a fork, and the action ran successfully, so it should work :)

@richardlau
Copy link
Member

I mean the initial PR that adds the actions. Once added they run for PR's from other forks as expected. See nodejs/remark-preset-lint-node#24 (comment) and subsequent replies.

@mmarchini
Copy link
Contributor Author

Ah, gotcha. Removing the good first issue label then.

mmarchini added a commit that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: #312
mmarchini added a commit that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: #312
mmarchini added a commit that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: #312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit to mmarchini/llnode that referenced this issue Nov 7, 2019
Reduce CI time by moving to GitHub Actions.

Fixes: nodejs#312
mmarchini added a commit that referenced this issue Jan 9, 2020
Reduce CI time by moving to GitHub Actions.

Fixes: #312
mmarchini added a commit that referenced this issue Jan 9, 2020
Reduce CI time by moving to GitHub Actions.

Fixes: #312
mmarchini added a commit that referenced this issue Jan 9, 2020
Reduce CI time by moving to GitHub Actions.

Fixes: #312

PR-URL: #323
Reviewed-By: Richard Lau <[email protected]>
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 a pull request may close this issue.

2 participants