import-linter
import-linter copied to clipboard
tests and CI for `import-linter`
I am opening this issue to talk about CI and testing approach in this great package. We can start from discussing following points:
- Why travis is not fully integrated with project? Usually CI systems use github's checks to give info about build result etc which is really handy - example of github checks with travis
- What do you say for migrating from
travis
to github actions and workflows? - Is
tox
really needed? Maybe travis build matrix or github workflows strategy matrix will be enough? - What do you think about services like codecov? It's free for open source projects and can help us to get 100% code coverage and then keep it as this level
Hi Łukasz,
Thanks for getting involved, and the PR!
Very much open to the improvements you mention - however changing everything comes with a time cost to review and understand the new processes - and I'm not feeling much pain with the current ones. However, if it helps others feel more able to contribute then that's worthwhile - I just might not be able to review things promptly.
Responding to each:
- Why travis is not fully integrated with project?
It should already be integrated with the checks that appear on the main 'conversation' tab of the PR - just not with the Github checks tab (which I haven't used elsewhere).
- What do you say for migrating from travis to github actions and workflows?
I don't feel strongly.
- Is tox really needed? Maybe travis build matrix or github workflows strategy matrix will be enough?
Yes possibly, again I don't feel strongly.
- What do you think about services like codecov?
I think it's great, and have used it on other projects.
Maybe let's start from introducing codecov
to the project, what do you think?
Sure! Happy to review a PR. Thanks Łukasz!
I suggest staying with tox. It simplifies local testing.
Would be great to add mypy check to CI with quite strict configuration (and appropriate typing), it would make contributions a lot easier :)
I'm going to close this ticket as we have now migrated to Github actions. Feel free to open individual tickets for the other suggestions.