Test extension in Docker

unnmdnwb3
Wed, 21 Aug 2019 12:23:49 +0000
Support

Hello everyone,

I’d like to set up a CI-pipeline with Gitlab CI, which should enable continuous testing of our extension (in python). However, it’s not quite obvious to me which dependencies I therefore have to integrate. The imports i need from Slicer are basically slicer and qt.

To fasten up the process, I’ve used the docker-image slicer/slicer-build mentioned in this thread and described on github.

However, I still have the following questions:

1. Is it correct that these images are the official slicer docker-images?

2. Is it correct that they represent the lastest nightly build?

3. What is the path I have to add to PYTHONPATH, in order to import these distributions? (I’d have guessed /usr/src/Slicer-build/Slicer-build/bin/Python but I’m not quite sure…)

Thank you for any help or suggestions in advance!

Once I have everything in place, I’d like to share it so that others can profit as well.

15 posts - 4 participants