Update tests.yml
This commit is contained in:
		
							
								
								
									
										10
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user