improved testing
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -28,6 +28,7 @@ jobs: | |||||||
|     - name: Install dependencies and run tests |     - name: Install dependencies and run tests | ||||||
|       env: |       env: | ||||||
|         OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} |         OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} | ||||||
|  |         TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} | ||||||
|       run: | |       run: | | ||||||
|         echo "$PWD" |         echo "$PWD" | ||||||
|         pip install wheel |         pip install wheel | ||||||
| @@ -36,5 +37,5 @@ jobs: | |||||||
|         cd .. |         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 |         # doesn't work :( sed -i 's/"api_key":.*/"api_key": "${{secrets.OPENWEATHERMAP_API_KEY}}",/' settings.json | ||||||
|         for f in *.py; do python3 "$f"; done |         for f in *.py; do python3 "$f"; done | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user