Closed timcnicholls closed 3 years ago
:exclamation: No coverage uploaded for pull request base (
master@833d018
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #44 +/- ##
==========================================
Coverage ? 100.00%
==========================================
Files ? 14
Lines ? 1087
Branches ? 0
==========================================
Hits ? 1087
Misses ? 0
Partials ? 0
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 833d018...89c1c85. Read the comment docs.
Looks good! Is there a reason that it doesn't run the unit tests in the build?
I might be misunderstanding, but the unit tests are run by tox in the GH actions workflow. Is that what you're asking?
Oh I see! Sorry, I was looking for pytest in the yaml and was not sure what tox was.
This PR formalises the support for python 3 by odin-control. A number of changes are included:
1) Migration of CI from travis to Github, including full tox build matrix integration, codecov.io coverage reporting and Slack notification integration. The tox environment will also run at the command line and tests odin-control with python 2.7, 3.6-3.9 and legal combinations of tornado releases 4,5 and 6. 2) Fixes to unit test cases to improve python compatibility and reduce dependence of tests on the behaviour of the underlying test runner (e.g. system status adapter tests fully mock out process checking) 3) Make the installed python package name
odin-control
rather thanodin
, improving symmetry with theodin-data
package and fixing the disparity in package name with the DLS build system, which requires the installed egg to match the package name. 4) Newodin-control
script entry point for the control server, for consistency and to avoid confusion. The currentodin-server
entry point remains but is deprecated, emits a warning when used and will be removed in a future release.