mirror of
				https://github.com/mgechev/revive.git
				synced 2025-10-30 23:37:49 +02:00 
			
		
		
		
	chore: add macOS test runner (#1465)
This commit is contained in:
		
							
								
								
									
										23
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -5,12 +5,16 @@ on: | ||||
|     types: [opened, synchronize, reopened] | ||||
|  | ||||
| jobs: | ||||
|   tests-on-unix: | ||||
|     name: Tests on Unix | ||||
|     runs-on: ubuntu-latest | ||||
|   tests: | ||||
|     name: Tests on ${{ matrix.os }} (Go ${{ matrix.go-version }}) | ||||
|     runs-on: ${{ matrix.os }} | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
|         os: | ||||
|           - ubuntu-latest | ||||
|           - windows-latest | ||||
|           - macos-latest | ||||
|         go-version: | ||||
|           - oldstable | ||||
|           - stable | ||||
| @@ -23,16 +27,3 @@ jobs: | ||||
|           go-version: ${{ matrix.go-version }} | ||||
|       - name: Run tests | ||||
|         run: go test -race -shuffle=on ./... | ||||
|  | ||||
|   tests-on-windows: | ||||
|     name: Tests on Windows | ||||
|     runs-on: windows-latest | ||||
|     steps: | ||||
|       - name: Checkout code | ||||
|         uses: actions/checkout@v4 | ||||
|       - name: Set up Go | ||||
|         uses: actions/setup-go@v5 | ||||
|         with: | ||||
|           go-version: stable | ||||
|       - name: Run tests | ||||
|         run: go test -race -shuffle=on ./... | ||||
|   | ||||
		Reference in New Issue
	
	Block a user