Update tests.yml

This commit is contained in:
Ace 2023-07-26 01:58:26 +02:00 committed by GitHub
parent 7a978b731a
commit c94aeafa4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,11 +91,15 @@ jobs:
# Set the base_image to the desired Raspberry Pi OS version # 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 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 image_additional_mb: 1500 # enlarge free space to 1.5 GB
# Set the commands to run the tests optimize_image: true
user: inky
commands: | commands: |
apt-get update -y sudo adduser inky
apt-get install -y python3-pip 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 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 cd /Inkycal
. venv/bin/activate . venv/bin/activate
python -m pip install --upgrade pip python -m pip install --upgrade pip