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
Reduce number of CI jobs #252
Conversation
This PR doesn't do what you think it does, you're just changing PkgTemplates' CI configs, not the ones it generates. To do the thing you want to do, you just need to change the default value of Personally, I'm on board with this, I generally only test Linux myself unless my package does a lot of FS stuff or other platform-dependent stuff. @nickrobinson251 could I get your take on behalf of Invenia? |
Okay, thanks for the pointers. 😄 I'll now wait for the reply from Invenia('s representative) |
Codecov Report
@@ Coverage Diff @@
## master #252 +/- ##
==========================================
+ Coverage 81.86% 82.21% +0.35%
==========================================
Files 19 19
Lines 612 613 +1
==========================================
+ Hits 501 504 +3
+ Misses 111 109 -2
Continue to review full report at Codecov.
|
Yeah, i think templates defaulting to running on Linux only is fine! i.e. linux=true,
osx=false,
windows=false, Probably want |
Ok, looking good. The last step is to update the tests. You can move the existing
And then run the unit tests from the Pkg REPL mode, you should be prompted to accept the changes to those files (although some people have reported that this bit doesn't quite work). |
Clear explanation. Thank you. I've ran the tests and got prompted to change two files (pressed |
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.
Something odd appears to have happened with WackyOptions
' GHA config, there is a file both at .github/CI.yml
and at .github/workflows/CI.yml
(the latter is the correct path).
Probably me making a mistake when using |
The target file was renamed in JuliaCI/PkgTemplates.jl#252
The target file was renamed in JuliaCI/PkgTemplates.jl#252
At JuliaLang/Example.jl#55, Fredrik Ekre mentions that PkgTemplates advises quite a lot of jobs by default. I agree and would also argue that most repositories only run a few Linux jobs. In this PR, I propose to comment out some of the jobs, so that users can decide for themselves. This is just a suggestion; let me know if I should update the Travis and Appveyor and tests accordingly.
The change of filename is just because
ci.yml
looks a bit weird next toCompatHelper.yml
andTagBot.yml
, see, for example, https://github.com/rikhuijzer/Gadfly.jl/tree/master/.github/workflows.