File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 51
51
run : |
52
52
python -c "from pytissueoptics.rayscattering.opencl import OPENCL_OK; assert OPENCL_OK"
53
53
54
+ - name : Test headless PyQt5
55
+ env :
56
+ QT_QPA_PLATFORM : offscreen
57
+ run : |
58
+ python -c "from PyQt5.QtWidgets import QApplication, QLabel; app = QApplication([]); QLabel('Test');"
59
+
54
60
- name : Run tests
55
61
env :
56
62
QT_QPA_PLATFORM : offscreen
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ RUN apt-get update && \
29
29
RUN python3 -m venv /opt/venv
30
30
ENV PATH="/opt/venv/bin:$PATH"
31
31
32
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel
32
+ RUN pip install --no-cache-dir --upgrade pip setuptools>=40.8.0 wheel pytest
33
33
34
34
WORKDIR /PyTissueOptics
35
35
RUN git clone https://github.com/DCC-Lab/PyTissueOptics.git . && \
36
36
git checkout jlb/setup-ci && \
37
- pip install --no-cache-dir -r requirements.txt
37
+ pip install --no-cache-dir .
38
38
39
39
ENV QT_QPA_PLATFORM=offscreen
40
40
ENV PTO_DEVICE_INDEX=0
You can’t perform that action at this time.
0 commit comments