mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 18:18: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 |         shell: bash | ||||||
|         run: __test__/verify-side-by-side.sh |         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 |       # LFS | ||||||
|       - name: Checkout LFS |       - name: Checkout LFS | ||||||
|         uses: ./ |         uses: ./ | ||||||
|  | @ -113,19 +127,6 @@ jobs: | ||||||
|       - name: Verify submodules recursive |       - name: Verify submodules recursive | ||||||
|         run: __test__/verify-submodules-recursive.sh |         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 |       # Basic checkout using REST API | ||||||
|       - name: Remove basic |       - name: Remove basic | ||||||
|         if: runner.os != 'windows' |         if: runner.os != 'windows' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel
						Daniel