mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	feat: updated sparse-checkout test position to avoid errors with default test behaviour
This commit is contained in:
		
							parent
							
								
									15b0c61ab0
								
							
						
					
					
						commit
						fe6a5ed262
					
				
							
								
								
									
										27
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -72,6 +72,20 @@ jobs: | |||
|         shell: bash | ||||
|         run: __test__/verify-side-by-side.sh | ||||
| 
 | ||||
|      # Sparse checkout | ||||
|       - name: Sparse checkout | ||||
|         uses: ./ | ||||
|         with: | ||||
|           sparse-checkout: | | ||||
|             __test__ | ||||
|             .github | ||||
|             dist | ||||
| 
 | ||||
|       - name: Verify sparse checkout basic | ||||
|         run: __test__/verify-sparse-checkout-basic.sh | ||||
|       - name: Verify sparse checkout example | ||||
|         run: __test__/verify-sparse-checkout.sh | ||||
| 
 | ||||
|       # LFS | ||||
|       - name: Checkout LFS | ||||
|         uses: ./ | ||||
|  | @ -113,19 +127,6 @@ jobs: | |||
|       - name: Verify submodules recursive | ||||
|         run: __test__/verify-submodules-recursive.sh | ||||
| 
 | ||||
|      # Sparse checkout | ||||
|       - name: Sparse checkout | ||||
|         uses: ./ | ||||
|         with: | ||||
|           sparse-checkout: | | ||||
|             __test__ | ||||
|             .github | ||||
|             dist | ||||
|       - name: Verify sparse checkout basic | ||||
|         run: __test__/verify-sparse-checkout-basic.sh | ||||
|       - name: Verify sparse checkout example | ||||
|         run: __test__/verify-sparse-checkout.sh | ||||
| 
 | ||||
|       # Basic checkout using REST API | ||||
|       - name: Remove basic | ||||
|         if: runner.os != 'windows' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel
						Daniel