-
Notifications
You must be signed in to change notification settings - Fork 404
Set up GitLab/Travis CI #105
Comments
|
For the ImageSplit project, I wanted to avoid different testing paths for travis, gitlab-ci and local testing. So I set up tox.ini to do most of the CI steps using virtualenvs, and then configured .travis.yml and .gitlab-ci.yml to run the tests using the tox command. Another advantage is I can run any of the CI stages locally; e.g. |
@tomdoel Thanks for letting me know! This looks quite useful for avoiding duplication. Do you have any failing tests? I'd like to see what the log looks like. In the past I had difficulties tracing problems in failing CI builds when running the CI commands e.g. off a shell script. I wonder whether tox provides more useful output in such cases. |
A failing test example with tox: https://cmiclab.cs.ucl.ac.uk/GIFT-Surg/ImageSplit/-/jobs/42111 |
|
|
|
|
|
error, which is an extension (unavailable by default) as of pylint version 1.7: https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.7.rst
…ylint" This reverts commit cb8c3c7.
…xact version" This reverts commit c6cad68.
@wyli As of bdc6655, Travis CI is set up and the There are two issues, though:
|
@dzhoshkun Looks nice! I'll send you a merge request to fix the pylint tests (we could take this opportunity to disucss/test the new workflow for contributors #98 ). |
There seems to be another, (given the current setup) possibly easier, way to continue testing with our custom hardware (since GitLab v10.6 on 22 March as far as I can see). |
|
@wyli @tomdoel I've managed to set up GitLab CI for one of my personal projects on GitHub, running its CI pipelines on Adelie. For the result, please see this commit (click the green tick!) and also this PR showing "All checks passed". For the record, this feature has been around for a while, but involved a manual setup, and did not transmit the CI pipeline result back to GitHub. Also for the record, I've imported the project not from CmicLab to GitLab, but from GitHub to GitLab. Mentioning this explicitly, as currently there seems to be an issue exporting projects from CmicLab. |
Cool, looks like a feasible solution for GPU tests. |
Sometimes CI runner couldn't find |
Related to https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNet/issues/269
We should set up CPU-only CI tests on Travis until a long-term solution for GPU testing has been found.
The text was updated successfully, but these errors were encountered: