Update tests.yml
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -25,20 +25,13 @@ jobs: | |||||||
|         source venv/bin/activate |         source venv/bin/activate | ||||||
|         python -m pip install --upgrade pip |         python -m pip install --upgrade pip | ||||||
|          |          | ||||||
|     - name: Install dependencies |     - name: Install dependencies and run tests | ||||||
|  |       env: | ||||||
|  |         OPENWEATHERMAP_API_KEY: secrets.OPENWEATHERMAP_API_KEY | ||||||
|       run: | |       run: | | ||||||
|         echo "$PWD" |         echo "$PWD" | ||||||
|         pip install wheel |         pip install wheel | ||||||
|         pip install -e ./ |         pip install -e ./ | ||||||
|         # cd inkycal/modules && ls -al |  | ||||||
|          |  | ||||||
|     - name: Run tests |  | ||||||
|       env: |  | ||||||
|         OPENWEATHERMAP_API_KEY: secrets.OPENWEATHERMAP_API_KEY |  | ||||||
|          |  | ||||||
|       run: | |  | ||||||
|         echo "$PWD" |  | ||||||
|         # cd .. |  | ||||||
|         cd tests |         cd tests | ||||||
|         wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json |         wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json | ||||||
|         # sed -i 's/"api_key":.*/"api_key": "${{secrets.OPENWEATHERMAP_API_KEY}}",/' settings.json |         # sed -i 's/"api_key":.*/"api_key": "${{secrets.OPENWEATHERMAP_API_KEY}}",/' settings.json | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user