mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	 152ced134e
			
		
	
	
		152ced134e
		
			
		
	
	
	
	
		
			
			* Delete appveyor.yml * Create ci.yml * Update test.ps1 * Update README.md * Fix repo name * Update test.ps1
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Tests
 | |
| 
 | |
| on:
 | |
|   pull_request:
 | |
|   push:
 | |
|   workflow_dispatch:
 | |
| 
 | |
| jobs:
 | |
|   test_powershell:
 | |
|     name: WindowsPowerShell
 | |
|     runs-on: windows-latest
 | |
|     steps:
 | |
|       - name: Checkout Bucket
 | |
|         uses: actions/checkout@v2
 | |
|         with:
 | |
|           fetch-depth: 2
 | |
|           path: 'my_bucket'
 | |
|       - name: Checkout Scoop
 | |
|         uses: actions/checkout@v2
 | |
|         with:
 | |
|           repository: ScoopInstaller/Scoop
 | |
|           path: 'scoop_core'
 | |
|       - name: Init and Test
 | |
|         shell: powershell
 | |
|         run: |
 | |
|           $env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
 | |
|           .\scoop_core\test\bin\init.ps1
 | |
|           .\my_bucket\bin\test.ps1
 | |
|   test_pwsh:
 | |
|     name: PowerShell
 | |
|     runs-on: windows-latest
 | |
|     steps:
 | |
|       - name: Checkout Bucket
 | |
|         uses: actions/checkout@v2
 | |
|         with:
 | |
|           fetch-depth: 2
 | |
|           path: 'my_bucket'
 | |
|       - name: Checkout Scoop
 | |
|         uses: actions/checkout@v2
 | |
|         with:
 | |
|           repository: ScoopInstaller/Scoop
 | |
|           path: 'scoop_core'
 | |
|       - name: Init and Test
 | |
|         shell: pwsh
 | |
|         run: |
 | |
|           $env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
 | |
|           .\scoop_core\test\bin\init.ps1
 | |
|           .\my_bucket\bin\test.ps1
 |