File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 11name : Continuous Integration
2-
32on :
43 push :
54 branches : [master]
65 pull_request :
7- types : [opened, synchronize, reopened]
8- workflow_dispatch :
6+ branches : [master]
7+
8+ permissions :
9+ contents : read
10+
11+ concurrency :
12+ cancel-in-progress : true
13+ group : ${{ github.workflow }}-${{ github.ref }}
914
1015env :
1116 CARGO_TERM_COLOR : always
1520jobs :
1621 unit-tests :
1722 name : Run unit tests
18- runs-on : ubuntu-latest-m
19- timeout-minutes : 60
23+ runs-on : nscloud- ubuntu-22.04-amd64-16x32
24+ timeout-minutes : 20
2025 services :
2126 ipfs :
2227 image : ipfs/go-ipfs:v0.10.0
2833 POSTGRES_PASSWORD : postgres
2934 POSTGRES_DB : graph_node_test
3035 POSTGRES_INITDB_ARGS : " -E UTF8 --locale=C"
36+ POSTGRESQL_EXTRA_FLAGS : " -c max_connections=1000"
3137 options : >-
3238 --health-cmd pg_isready
3339 --health-interval 10s
6066
6167 runner-tests :
6268 name : Subgraph Runner integration tests
63- runs-on : ubuntu-latest
64- timeout-minutes : 60
69+ runs-on : nscloud- ubuntu-22.04-amd64-16x32
70+ timeout-minutes : 20
6571 services :
6672 ipfs :
6773 image : ipfs/go-ipfs:v0.10.0
@@ -121,8 +127,8 @@ jobs:
121127
122128 integration-tests :
123129 name : Run integration tests
124- runs-on : ubuntu-latest
125- timeout-minutes : 60
130+ runs-on : nscloud- ubuntu-22.04-amd64-16x32
131+ timeout-minutes : 20
126132 services :
127133 ipfs :
128134 image : ipfs/go-ipfs:v0.10.0
@@ -135,6 +141,7 @@ jobs:
135141 POSTGRES_PASSWORD : let-me-in
136142 POSTGRES_DB : graph-node
137143 POSTGRES_INITDB_ARGS : " -E UTF8 --locale=C"
144+ POSTGRESQL_EXTRA_FLAGS : " -c max_connections=1000"
138145 options : >-
139146 --health-cmd pg_isready
140147 --health-interval 10s
You can’t perform that action at this time.
0 commit comments