unittest improvements
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/test-on-rpi.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/test-on-rpi.yml
									
									
									
									
										vendored
									
									
								
							| @@ -42,7 +42,7 @@ jobs: | |||||||
|             sudo apt-get update -y |             sudo apt-get update -y | ||||||
|             python --version |             python --version | ||||||
|             sudo apt-get install -y python3-pip |             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 wkhtmltopdf -y | ||||||
|             echo $PWD && ls |             echo $PWD && ls | ||||||
|             git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal |             git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal | ||||||
|             cd Inkycal |             cd Inkycal | ||||||
| @@ -53,6 +53,5 @@ jobs: | |||||||
|             pip install -e ./ |             pip install -e ./ | ||||||
|             pip install RPi.GPIO==0.7.1 spidev==3.5 |             pip install RPi.GPIO==0.7.1 spidev==3.5 | ||||||
|             wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json |             wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json | ||||||
|             cd inkycal/tests |  | ||||||
|             pip install pytest |             pip install pytest | ||||||
|             python -m pytest |             python -m pytest | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								.github/workflows/update-os.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/update-os.yml
									
									
									
									
										vendored
									
									
								
							| @@ -37,7 +37,7 @@ jobs: | |||||||
|             sudo apt-get update -y |             sudo apt-get update -y | ||||||
|             python --version |             python --version | ||||||
|             sudo apt-get install -y python3-pip |             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 wkhtmltopdf -y | ||||||
|             echo $PWD && ls |             echo $PWD && ls | ||||||
|             git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal |             git clone --branch main --single-branch https://github.com/aceinnolab/Inkycal | ||||||
|             cd Inkycal |             cd Inkycal | ||||||
| @@ -47,7 +47,6 @@ jobs: | |||||||
|             pip install wheel |             pip install wheel | ||||||
|             pip install -e ./ |             pip install -e ./ | ||||||
|             pip install RPi.GPIO==0.7.1 spidev==3.5 |             pip install RPi.GPIO==0.7.1 spidev==3.5 | ||||||
|             cd inkycal/tests |  | ||||||
|             wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json |             wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json | ||||||
|             pip install pytest |             pip install pytest | ||||||
|             python -m pytest |             python -m pytest | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user