Skip to content

Commit 6d59727

Browse files
Update sanity-check.yml
1 parent c2ecdc2 commit 6d59727

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/sanity-check.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
run: |
5050
python -m pip install --upgrade pip
5151
pip install -r ${{ matrix.subproject }}/requirements.txt
52-
pip list
5352
5453
- name: Download sample video file
5554
run: |
@@ -68,6 +67,11 @@ jobs:
6867
echo "stream=false" >> $GITHUB_ENV
6968
fi
7069
70+
- name: Set environment to avoid OpenCV GUI errors
71+
run: |
72+
# This will prevent OpenCV from trying to display any GUI windows during execution
73+
echo "DISPLAY=:99" >> $GITHUB_ENV
74+
7175
- name: Run the demo
7276
run: |
7377
cd ${{ matrix.subproject }}

0 commit comments

Comments
 (0)