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

CI job for pull requests that runs make #874

Closed
orbitbot opened this issue Sep 22, 2016 · 9 comments
Closed

CI job for pull requests that runs make #874

orbitbot opened this issue Sep 22, 2016 · 9 comments

Comments

@orbitbot
Copy link
Contributor

To reduce manual labor required and improve the feedback loop for outside contributors, I'd suggest setting up a CI instance on f.e. Travis that would run functionality identical to the make command. I have not looked at the entire lib subfolder, but there's probably not that much there that couldn't be automated.

@dead-claudia
Copy link
Contributor

dead-claudia commented Nov 1, 2016

@orbitbot I'm guessing this would be a good question for @tunnckoCore? (He's a @microjs member, so I assume he has admin privileges, and he has had significant recent GitHub activity.)

@tunnckoCore
Copy link
Member

@isiahmeadows thanks for the ping, these pings aren't problem for me like for some other devs in the community, haha. Another story is that i'm pretty busy currently and trying to get all things done.

@orbitbot don't see the point cuz there's no tests currently? Also we need too much work to revive the project and setup more automation on adding/editing more libs, testing and rebuilding the website.

@orbitbot
Copy link
Contributor Author

orbitbot commented Nov 1, 2016

don't see the point cuz there's no tests currently?

The idea is to not do tests as such, but use the CI server to run the make command. This would almost immediately inform anyone trying to make a PR if their contribution does not conform to the rules set forth by the project for whatever reason, and they can then make adjustments or immediately close the PR.

Also we need too much work to revive the project and setup more automation on adding/editing more libs, testing and rebuilding the website.

I'm not sure how to read this, do you mean that the amount of work involved is prohibitive so essentially no one is going to update the project outside of some PRs, or you thought I suggested adding tests for make and that doesn't feel important?

@tunnckoCore
Copy link
Member

Anyway, got it. Maybe we should just add make to npm test script?

hmm, also we need some default in the Makefile, i believe it is called PHONY, or something?

@dead-claudia
Copy link
Contributor

It's the first goal that appears in the makefile.

https://www.gnu.org/software/make/manual/html_node/Goals.html

On Tue, Nov 1, 2016, 05:13 Charlike Mike Reagent notifications@github.com
wrote:

Anyway, got it. Maybe we should just add make to npm test script?

hmm, also we need some default in the Makefile, i believe it is called
PHONY, or something?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#874 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AERrBLgwyldNCLLUS_3EiACNkWODDoBJks5q5wKhgaJpZM4KDpu1
.

@tunnckoCore
Copy link
Member

tunnckoCore commented Nov 1, 2016

Yea. Okey, no problems for me. PRs welcome i have time for review and merge, don't have the time to think and write what we needs exactly.

@audiolion
Copy link
Contributor

I have added a travis.yml build in PR #882 . It allows PR reviewers to check the build, if we keep the data.js file up to date there should only be one error, I might actually change the npm test to do ./build.js -v | grep ERROR|WARNING. I need to modify build.js to output errors on those responses so the build 'fails'.

@thedumbterminal
Copy link
Contributor

thedumbterminal commented Mar 8, 2017

The CI process now hangs as it is expecting someone to enter Github credentials, could someone set the following encrypted environment variables in the Travis UI:

  • GH_USER
  • GH_TOKEN

This will mean that ./build.js will no longer prompt for credentials.

Thanks

@audiolion
Copy link
Contributor

audiolion commented Mar 9, 2017

I will look into it this weekend -- fixed

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

No branches or pull requests

5 participants