-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(go-sdk): use protos v1 api for fabric-protos-go unmarshal
ci(release-go-sdk): use make build to test build of go-sdk chore: fix update-weaver-version script typo with quotes chore: bug fix in release script go-gen-checksum test(go-sdk): change test package names to _test, add membership test Signed-off-by: Sandeep Nishad <[email protected]>
- Loading branch information
1 parent
3fcc7a1
commit 9d9dd89
Showing
12 changed files
with
226 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,3 +311,33 @@ jobs: | |
- name: Test | ||
run: go test -v ./... | ||
working-directory: weaver/samples/fabric/simpleassettransfer | ||
|
||
unit_test_sdk_membership: | ||
needs: check_code_changed | ||
if: ${{ needs.check_code_changed.outputs.interopcc_changed == 'true' || needs.check_code_changed.outputs.gosdk_changed == 'true' }} | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Set up Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: '1.20.2' | ||
|
||
# FABRIC NETWORK | ||
- name: Start Fabric Network | ||
run: make start-interop-local | ||
working-directory: weaver/tests/network-setups/fabric/dev | ||
|
||
- name: Vendor | ||
run: make run-vendor | ||
working-directory: weaver/sdks/fabric/go-sdk | ||
|
||
- name: Build | ||
run: make build | ||
working-directory: weaver/sdks/fabric/go-sdk | ||
|
||
# Test the MembershipManager | ||
- name: Test | ||
run: GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn CACTI_ROOT=$GITHUB_WORKSPACE go test -v . | ||
working-directory: weaver/sdks/fabric/go-sdk/membershipmanager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.