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

Move to GitHub Actions for CI #621

Merged
merged 2 commits into from
Dec 4, 2020
Merged

Move to GitHub Actions for CI #621

merged 2 commits into from
Dec 4, 2020

Conversation

nalimilan
Copy link
Member

No description provided.

Copy link
Member

@rofinn rofinn left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple suggestions you might want to consider.

@@ -0,0 +1,64 @@
name: CI
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.

Might want to limit this to

  push:
    branches: [master]
    tags: ["*"]

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

version:
- '1.0'
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
Copy link
Member

Choose a reason for hiding this comment

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

This might be noisy as there isn't an equivalent to allow failures.

Copy link
Member Author

Choose a reason for hiding this comment

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

We could have it in a separate step which is allowed to fail, like JuliaStats/StatsModels.jl#199.

Copy link
Member

Choose a reason for hiding this comment

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

FWIW the statsmodels setup doesn't actually allow it to fail in the strict sense that you'll still get the red X on the commit if it's failing. but you can at least see isolate it in a separate workflow so you can have the nice green badge.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I guess if you aren't editing these files that often that's probably fine.

arch:
- x64
- x86
exclude:
Copy link
Member

Choose a reason for hiding this comment

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

Do we actually need to test on all combinations of julia version, os and architecture?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah that's a difficult point. AFAIK we used to do that until now. Another solution would be to do something like JuliaLang/Example.jl#55. But given that StatsBase has a relatively low activity it may be OK to run many checks.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that's what we do. If you don't think StatsBase is gonna be that active going forward then I'm fine with leaving it.

@nalimilan
Copy link
Member Author

OK let's go with this, we can refine it later but at least we'll have CI again.

@nalimilan nalimilan merged commit 0ba8a95 into master Dec 4, 2020
@nalimilan nalimilan deleted the nl/ci branch December 4, 2020 09:59
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 this pull request may close these issues.

3 participants