@@ -11,20 +11,20 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14-
14+
1515 - name : Set up Go
1616 uses : actions/setup-go@v2
1717 with :
1818 go-version : 1.16
19-
19+
2020 - name : Build
2121 run : go build -v ./...
2222 working-directory : core/network/fabric-interop-cc/contracts/interop
2323
2424 - name : Test
2525 run : go test -v ./...
2626 working-directory : core/network/fabric-interop-cc/contracts/interop
27-
27+
2828 test_interopcc_local :
2929 runs-on : ubuntu-latest
3030 steps :
3434 uses : actions/setup-go@v2
3535 with :
3636 go-version : 1.16
37-
37+
3838 - name : Local Setup
3939 run : |
4040 mv go.mod go.mod.bkp
@@ -44,15 +44,15 @@ jobs:
4444 rm go.sum
4545 go mod tidy
4646 working-directory : core/network/fabric-interop-cc/contracts/interop
47-
47+
4848 - name : Build
4949 run : go build -v ./...
5050 working-directory : core/network/fabric-interop-cc/contracts/interop
51-
51+
5252 - name : Test
5353 run : go test -v ./...
5454 working-directory : core/network/fabric-interop-cc/contracts/interop
55-
55+
5656 test_assetmgmt :
5757 runs-on : ubuntu-latest
5858 steps :
@@ -66,11 +66,11 @@ jobs:
6666 - name : Build
6767 run : go build -v ./...
6868 working-directory : core/network/fabric-interop-cc/interfaces/asset-mgmt
69-
69+
7070 - name : Test
7171 run : go test -v ./...
7272 working-directory : core/network/fabric-interop-cc/interfaces/asset-mgmt
73-
73+
7474 test_simplestate :
7575 runs-on : ubuntu-latest
7676 steps :
@@ -84,29 +84,29 @@ jobs:
8484 - name : Build
8585 run : go build -v ./...
8686 working-directory : samples/fabric/simplestate
87-
87+
8888 - name : Test
8989 run : make test
9090 working-directory : samples/fabric/simplestate
91-
91+
9292 test_simpleasset_github :
9393 runs-on : ubuntu-latest
9494 steps :
9595 - uses : actions/checkout@v2
96-
96+
9797 - name : Set up Go
9898 uses : actions/setup-go@v2
9999 with :
100100 go-version : 1.16
101-
101+
102102 - name : Build
103103 run : go build -v ./...
104104 working-directory : samples/fabric/simpleasset
105-
105+
106106 - name : Test
107107 run : go test -v ./...
108108 working-directory : samples/fabric/simpleasset
109-
109+
110110 test_simpleasset_local :
111111 runs-on : ubuntu-latest
112112 steps :
@@ -116,44 +116,54 @@ jobs:
116116 uses : actions/setup-go@v2
117117 with :
118118 go-version : 1.16
119-
119+
120120 - name : Setup
121121 run : |
122122 GOMODCACHE=`go env GOMODCACHE`
123123 echo "GO MOD Path: ${GOMODCACHE}"
124+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go
125+ chmod +wr -R ${GOMODCACHE}
126+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/*
127+ cp -r ../../../common/protos-go/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/
128+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*
124129 go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt
125130 chmod +wr -R ${GOMODCACHE}
126131 rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*/*
127132 cp -r ../../../core/network/fabric-interop-cc/interfaces/asset-mgmt/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*/
128133 ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*
134+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils
135+ chmod +wr -R ${GOMODCACHE}
136+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/*
137+ cp -r ../../../core/network/fabric-interop-cc/libs/testutils/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/
138+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*
129139 working-directory : samples/fabric/simpleasset
130140
131141 - name : Build
132142 run : go build -v ./...
133143 working-directory : samples/fabric/simpleasset
134-
144+
135145 - name : Test
136146 run : go test -v ./...
137147 working-directory : samples/fabric/simpleasset
138-
148+
139149 test_simpleassetandinterop_github :
140150 runs-on : ubuntu-latest
141151 steps :
142152 - uses : actions/checkout@v2
143-
153+
144154 - name : Set up Go
145155 uses : actions/setup-go@v2
146156 with :
147157 go-version : 1.16
148-
158+
149159 - name : Build
150160 run : go build -v ./...
151161 working-directory : samples/fabric/simpleassetandinterop
152-
162+
153163 - name : Test
154164 run : go test -v ./...
155165 working-directory : samples/fabric/simpleassetandinterop
156-
166+
157167 test_simpleassetandinterop_local :
158168 runs-on : ubuntu-latest
159169 steps :
@@ -163,23 +173,95 @@ jobs:
163173 uses : actions/setup-go@v2
164174 with :
165175 go-version : 1.16
166-
176+
167177 - name : Setup
168178 run : |
169179 GOMODCACHE=`go env GOMODCACHE`
170180 echo "GO MOD Path: ${GOMODCACHE}"
181+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go
182+ chmod +wr -R ${GOMODCACHE}
183+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/*
184+ cp -r ../../../common/protos-go/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/
185+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*
171186 go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange
172187 chmod +wr -R ${GOMODCACHE}
173188 rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange*/*
174189 cp -r ../../../core/network/fabric-interop-cc/libs/assetexchange/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange*/
175190 ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange*
191+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils
192+ chmod +wr -R ${GOMODCACHE}
193+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/*
194+ cp -r ../../../core/network/fabric-interop-cc/libs/testutils/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/
195+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*
176196 working-directory : samples/fabric/simpleassetandinterop
177197
178198 - name : Build
179199 run : go build -v ./...
180200 working-directory : samples/fabric/simpleassetandinterop
181-
201+
182202 - name : Test
183203 run : go test -v ./...
184204 working-directory : samples/fabric/simpleassetandinterop
185205
206+ # test_simpleassettransfer_github:
207+ # runs-on: ubuntu-latest
208+ # steps:
209+ # - uses: actions/checkout@v2
210+
211+ # - name: Set up Go
212+ # uses: actions/setup-go@v2
213+ # with:
214+ # go-version: 1.16
215+
216+ # - name: Build
217+ # run: go build -v ./...
218+ # working-directory: samples/fabric/simpleassettransfer
219+
220+ # - name: Test
221+ # run: go test -v ./...
222+ # working-directory: samples/fabric/simpleassettransfer
223+
224+ test_simpleassettransfer_local :
225+ runs-on : ubuntu-latest
226+ steps :
227+ - uses : actions/checkout@v2
228+
229+ - name : Set up Go
230+ uses : actions/setup-go@v2
231+ with :
232+ go-version : 1.16
233+
234+ - name : Setup
235+ run : |
236+ GOMODCACHE=`go env GOMODCACHE`
237+ echo "GO MOD Path: ${GOMODCACHE}"
238+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go
239+ chmod +wr -R ${GOMODCACHE}
240+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/*
241+ cp -r ../../../common/protos-go/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*/
242+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go*
243+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt
244+ chmod +wr -R ${GOMODCACHE}
245+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*/*
246+ cp -r ../../../core/network/fabric-interop-cc/interfaces/asset-mgmt/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*/
247+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt*
248+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils
249+ chmod +wr -R ${GOMODCACHE}
250+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/*
251+ cp -r ../../../core/network/fabric-interop-cc/libs/testutils/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*/
252+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/testutils*
253+ go mod download github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils
254+ chmod +wr -R ${GOMODCACHE}
255+ rm -rf ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils*/*
256+ cp -r ../../../core/network/fabric-interop-cc/libs/utils/* ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils*/
257+ ls -lh ${GOMODCACHE}/github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils*
258+ working-directory : samples/fabric/simpleassettransfer
259+
260+ - name : Build
261+ run : go build -v ./...
262+ working-directory : samples/fabric/simpleassettransfer
263+
264+ - name : Test
265+ run : go test -v ./...
266+ working-directory : samples/fabric/simpleassettransfer
267+
0 commit comments