fixing actions
This commit is contained in:
		
							
								
								
									
										22
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -36,6 +36,18 @@ jobs: | |||||||
|         make github |         make github | ||||||
|         cd .. |         cd .. | ||||||
|  |  | ||||||
|  |     - name: Setup test environment and run tests | ||||||
|  |       env: | ||||||
|  |         OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} | ||||||
|  |         SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }} | ||||||
|  |         TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} | ||||||
|  |         TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} | ||||||
|  |       run: | | ||||||
|  |         cd inkycal/tests | ||||||
|  |         wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json | ||||||
|  |         for f in *.py; do python3 "$f"; done | ||||||
|  |         cd .. && cd .. | ||||||
|  |  | ||||||
|     - name: Configure Git |     - name: Configure Git | ||||||
|       run: | |       run: | | ||||||
|         git config --global user.name 'GitHub Actions' |         git config --global user.name 'GitHub Actions' | ||||||
| @@ -50,13 +62,3 @@ jobs: | |||||||
|         git commit -m "Update documentation" |         git commit -m "Update documentation" | ||||||
|         cd .. |         cd .. | ||||||
|         git push --force --quiet --set-upstream origin main |         git push --force --quiet --set-upstream origin main | ||||||
|     - name: Setup test environment and run tests |  | ||||||
|       env: |  | ||||||
|         OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} |  | ||||||
|         SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }} |  | ||||||
|         TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} |  | ||||||
|         TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} |  | ||||||
|       run: | |  | ||||||
|         cd inkycal/tests |  | ||||||
|         wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json |  | ||||||
|         for f in *.py; do python3 "$f"; done |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user