From aef24f768a769e0d0fca7b36aebce2be7f703fd3 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 17 Oct 2024 11:37:39 +0100 Subject: [PATCH] Update runners with ASSET_DIR to pick up canned video for encoder tests Stops us being at the mercy of the random darkness in the server room. Signed-off-by: David Plowman --- .github/workflows/run_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 2b1f357d..5aa2e55e 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -20,5 +20,5 @@ jobs: clean: true - name: Test - run: DISPLAY=:0 PYTHONPATH=/home/pi/_work/picamera2/picamera2:/home/pi/libcamera/build/src/py:/home/pi/kmsxx/build/py:/home/pi/python-v4l2 python3 ${{github.workspace}}/tools/run_tests.py -p ${{github.workspace}} + run: DISPLAY=:0 ASSET_DIR=/home/pi/assets PYTHONPATH=/home/pi/_work/picamera2/picamera2:/home/pi/libcamera/build/src/py:/home/pi/kmsxx/build/py:/home/pi/python-v4l2 python3 ${{github.workspace}}/tools/run_tests.py -p ${{github.workspace}} timeout-minutes: 30