fix permission errors
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -78,7 +78,7 @@ jobs: | ||||
|             echo 'ALL   ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password | ||||
|             sudo useradd -m -p "$(openssl passwd -1 $INKY_INITAL_PASSWORD)" inky | ||||
|             sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi inky | ||||
|             su inky | ||||
|             su - inky | ||||
|             cd /home/inky | ||||
|             sudo apt-get update -y | ||||
|             python --version | ||||
| @@ -86,7 +86,6 @@ jobs: | ||||
|             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 | ||||
|             echo $PWD && ls | ||||
|             git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal | ||||
|             sudo chown -R inky:inky Inkycal | ||||
|             cd Inkycal | ||||
|             python3 -m venv venv | ||||
|             . venv/bin/activate | ||||
| @@ -96,6 +95,7 @@ jobs: | ||||
|             cd inkycal/tests | ||||
|             wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json | ||||
|             for f in *.py; do python3 "$f"; done | ||||
|             sudo chown -R inky:inky /home/inky/Inkycal | ||||
|              | ||||
|       - name: Compress the release image | ||||
|         run: | | ||||
|   | ||||
		Reference in New Issue
	
	Block a user