ci: use gitea actions instead of drone #40
| 
						 | 
					@ -40,4 +40,4 @@ jobs:
 | 
				
			||||||
            - name: Test
 | 
					            - name: Test
 | 
				
			||||||
              run: |
 | 
					              run: |
 | 
				
			||||||
                  make prepare-test
 | 
					                  make prepare-test
 | 
				
			||||||
                  make test
 | 
					                  make ci-test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
.PHONY: all build clean prepare-test test
 | 
					.PHONY: all build clean prepare-test test ci-test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILD_DIR = ./build
 | 
					BUILD_DIR = ./build
 | 
				
			||||||
TMP_DIR = ./tmp
 | 
					TMP_DIR = ./tmp
 | 
				
			||||||
| 
						 | 
					@ -21,3 +21,8 @@ prepare-test:
 | 
				
			||||||
test:
 | 
					test:
 | 
				
			||||||
	./scripts/prepare_test_repos.sh $(TMP_DIR)
 | 
						./scripts/prepare_test_repos.sh $(TMP_DIR)
 | 
				
			||||||
	go test -coverprofile cover.out -v ./...
 | 
						go test -coverprofile cover.out -v ./...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ci-test:
 | 
				
			||||||
 | 
						./scripts/prepare_test_repos.sh $(TMP_DIR)
 | 
				
			||||||
 | 
						./scripts/run_foreach_test_repos.sh $(TMP_DIR) "sed -i '1i sandboxExecServer = \"172.17.0.1:5051\"' conf.toml"
 | 
				
			||||||
 | 
						go test -coverprofile cover.out -v ./...
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user