File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 make install_lint
3939 make lint
4040
41+ tests-components :
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : Checkout
45+ uses : actions/checkout@v2
46+ with :
47+ submodules : true
48+ - uses : actions/setup-go@v2
49+ with :
50+ go-version : ' ^1.17'
51+ - name : " Launch db engine in background"
52+ run : |
53+ make test-database-up
54+ - name : " Give time for processes to start"
55+ run : sleep 5
56+ - name : Components tests
57+ run : make test-components
58+
4159 tests-integration :
4260 runs-on : ubuntu-latest
4361 steps :
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ test-database: build
2929test-integration : build
3030 go test -v ./indexer/tests/...
3131
32+ test-components : build
33+ go test -v ./components/...
34+
3235# Docker
3336test-database-up :
3437 docker-compose -f ./indexer/tests/docker-compose.yml up -d
You can’t perform that action at this time.
0 commit comments