test #1
							
								
								
									
										10
									
								
								.github/workflows/pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/pr.yml
									
									
									
									
										vendored
									
									
								
							@@ -12,33 +12,33 @@ jobs:
 | 
				
			|||||||
      uses: actions/setup-go@v1
 | 
					      uses: actions/setup-go@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        go-version: 1.15
 | 
					        go-version: 1.15
 | 
				
			||||||
    - name: checkout
 | 
					 | 
				
			||||||
      uses: actions/checkout@v2
 | 
					 | 
				
			||||||
    - name: cache
 | 
					    - name: cache
 | 
				
			||||||
      uses: actions/cache@v2
 | 
					      uses: actions/cache@v2
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        path: ~/go/pkg/mod
 | 
					        path: ~/go/pkg/mod
 | 
				
			||||||
        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
 | 
					        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
 | 
				
			||||||
        restore-keys: ${{ runner.os }}-go-
 | 
					        restore-keys: ${{ runner.os }}-go-
 | 
				
			||||||
 | 
					    - name: sdk checkout
 | 
				
			||||||
 | 
					      uses: actions/checkout@v2
 | 
				
			||||||
    - name: sdk deps
 | 
					    - name: sdk deps
 | 
				
			||||||
      run: go get -v -t -d ./...
 | 
					      run: go get -v -t -d ./...
 | 
				
			||||||
    - name: sdk test
 | 
					    - name: sdk test
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
        INTEGRATION_TESTS: yes
 | 
					        INTEGRATION_TESTS: yes
 | 
				
			||||||
      run: go test -mod readonly -v ./...
 | 
					      run: go test -mod readonly -v ./...
 | 
				
			||||||
    - name: checkout tests
 | 
					    - name: tests checkout
 | 
				
			||||||
      uses: actions/checkout@v2
 | 
					      uses: actions/checkout@v2
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        repository: unistack-org/micro-tests
 | 
					        repository: unistack-org/micro-tests
 | 
				
			||||||
        ref: refs/heads/master
 | 
					        ref: refs/heads/master
 | 
				
			||||||
        path: micro-tests
 | 
					        path: micro-tests
 | 
				
			||||||
        fetch-depth: 1
 | 
					        fetch-depth: 1
 | 
				
			||||||
    - name: micro deps
 | 
					    - name: tests deps
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        cd micro-tests
 | 
					        cd micro-tests
 | 
				
			||||||
        go mod edit -replace="github.com/unistack-org/micro/v3=../"
 | 
					        go mod edit -replace="github.com/unistack-org/micro/v3=../"
 | 
				
			||||||
        go get -v -t -d ./...
 | 
					        go get -v -t -d ./...
 | 
				
			||||||
    - name: micro test
 | 
					    - name: tests test
 | 
				
			||||||
      env:
 | 
					      env:
 | 
				
			||||||
        INTEGRATION_TESTS: yes
 | 
					        INTEGRATION_TESTS: yes
 | 
				
			||||||
      run: cd micro-tests && go test -mod readonly -v ./...
 | 
					      run: cd micro-tests && go test -mod readonly -v ./...
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user