File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,11 @@ test:
1313	$(MAKE )  docker.stop
1414
1515test.ci :
16- 	$(eval  GO_VERSION := $(shell  go version | cut -d " " -f 3 | cut -d. -f2) ) 
1716	set  -e;  for  dir  in  $( GO_MOD_DIRS) ;  do  \
18- 	  if  echo  " $$ {dir}" |  grep -q " ./example" &&  [ " $( GO_VERSION) " =  " 19" ;  then  \
19- 	    echo  " Skipping go test in $$ {dir} due to Go version 1.19 and dir contains ./example" ;  \ 
20- 	    continue ;  \ 
21- 	  fi ;  \ 
2217	  echo  " go test in $$ {dir}" ;  \ 
2318	  (cd " $$ {dir}" &&  \
2419	    go mod tidy -compat=1.18 &&  \ 
25- 	    go test  ./... -short -race -v &&  \ 
26- 	    go test  -v -coverprofile=coverage.txt -covermode=atomic ./... &&  \ 
20+ 	    go test  -coverprofile=coverage.txt -covermode=atomic ./... -race &&  \ 
2721	    go vet);  \ 
2822	done 
2923	cd  internal/customvet &&  go build . 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments