From c94aeafa4db9f6f96704295007a941099a6b812d Mon Sep 17 00:00:00 2001 From: Ace Date: Wed, 26 Jul 2023 01:58:26 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c463c5c..49e1288 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -91,11 +91,15 @@ jobs: # Set the base_image to the desired Raspberry Pi OS version base_image: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2023-05-03/2023-05-03-raspios-bullseye-armhf-lite.img.xz image_additional_mb: 1500 # enlarge free space to 1.5 GB - # Set the commands to run the tests + optimize_image: true + user: inky commands: | - apt-get update -y - apt-get install -y python3-pip + sudo adduser inky + sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi inky + sudo apt-get update -y + sudo apt-get install -y python3-pip sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev -y + ls cd /Inkycal . venv/bin/activate python -m pip install --upgrade pip