test V.II
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -31,7 +31,7 @@ jobs: | ||||
|  | ||||
|       - name: Create Archive | ||||
|         run: | | ||||
|           tar -czf workspace.tar.gz venv | ||||
|           tar -czf workspace.tar.gz Inkycal | ||||
|  | ||||
|       - name: Save Workspace Archive | ||||
|         uses: actions/upload-artifact@v2 | ||||
| @@ -61,10 +61,8 @@ jobs: | ||||
|           TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }} | ||||
|           TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }} | ||||
|         run: | | ||||
|           echo "$PWD" | ||||
|           ls | ||||
|           source venv/bin/activate | ||||
|           cd inkycal/tests | ||||
|           cd Inkycal/tests | ||||
|           wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json | ||||
|           for f in *.py; do python3 "$f"; done | ||||
|  | ||||
| @@ -86,9 +84,7 @@ jobs: | ||||
|       - name: Generate Docs | ||||
|         run: | | ||||
|           source venv/bin/activate | ||||
|           echo "$PWD" | ||||
|           ls | ||||
|           cd docsource | ||||
|           cd Inkycal/docsource | ||||
|           make html | ||||
|  | ||||
|   publish-docs: | ||||
| @@ -108,10 +104,8 @@ jobs: | ||||
|  | ||||
|       - name: Publish Docs | ||||
|         run: | | ||||
|           echo "$PWD" | ||||
|           ls | ||||
|           source venv/bin/activate | ||||
|           cp -R docsource/_build/html/. docs/ | ||||
|           cp -R Inkycal/docsource/_build/html/. docs/ | ||||
|           git config --global user.name 'GitHub Actions' | ||||
|           git config --global user.email 'actions@github.com' | ||||
|           git add docs | ||||
|   | ||||
		Reference in New Issue
	
	Block a user