-
Notifications
You must be signed in to change notification settings - Fork 36
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
Improve development and release workflow #57
Comments
I absolutely agree with all the points. I'm not sure what coverage tool would be best to use. I know CircleCI is used often for Python open-source projects for many CI/CD tasks. It allows running tests on different platforms, creating coverage reports, building packages and deploying them so it might be a good shout. It could also cover releasing on PyPI. That would, of course, require rewriting our GitHub actions completely and moving them to CircleCI. |
Let's add this to the issues to adress when we're having a call. For the record, I think we should be pragmatic here and keep using github actions on the short term (I guess it will be easier/faster to add the actions I suggested to the existing github workflows rather to rewrite the CI even if it is not difficult, but please go ahead if you really want it 😉 ). CircleCI is definitely one of the most used, let's keep it on the list of potential tools. |
I added the following items to the to do list:
|
…pdate version, CHANGELOG, create branch and PR (#57)
…e on merge on master and merge back to develop. (#57)
- Add badges for readibility - Add credits to maintainers - Fix command for latest installation with pip
- rename dev in test - run tests on windows and macos - upload coverage report to Codecov
- update version - CHANGELOG - create branch and PR
- create release - create tag - create PyPI release - merge back to develop
- Add badges for readibility - Add credits to maintainers - Fix command for latest installation with pip
- Add badges for readibility - Add credits to maintainers - Fix command for latest installation with pip
- rename dev in test - run tests on windows and macos - upload coverage report to Codecov
I move the different requirements files from requirements/_requirements.txt to extra-requires in setup.py to make install easier to remeber ( |
I suggest to remove the unecessarily compelx workflow of merging on develop and then on master. Since I don't support 2 different versions at the same time, using only the master branch as the reference and release directly from it will make the CI simpler. |
The development workflow can be updated to adress some current issues:
update contributing process (PR to develop):
force the CI to fail under 100% test coverage: several recent PR have broken coverage (mainly Create a MlflowMetricDataSet #9 but I had spotted breaking the 100% coverage before)(EDIT 2020-09-26)For now, I don't add the--cov-fail-under=100
flag to the "test" step in the build workflow because it will malke all CI fail until we add all the missing tests. I mark it as resolved and add it after the next release. I think that the codecov bot gives far enough information to take decision to merge A PR with the implications in mind.update release process both in the documentation and in the CI (PR to master from develop):
)
Do you have any other suggestion @kaemo and @akruszewski ?
The text was updated successfully, but these errors were encountered: