Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix up to reenable fabric 3.0 test #413

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
name: install tape to GOBIN
- run: make unit-test
name: run unit test
integration-test-1412:
runs-on: ubuntu-latest
needs: unit-test
strategy:
matrix:
FABRIC_VERSION: [1_4]
INTERGATION_CASE: [ANDLogic]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go mod vendor
- run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}
#integration-test-1412:
# runs-on: ubuntu-latest
# needs: unit-test
# strategy:
# matrix:
# FABRIC_VERSION: [1_4]
# INTERGATION_CASE: [ANDLogic]
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v5
# with:
# go-version: 1.22
# - run: go mod vendor
# - run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}
integration-test:
runs-on: ubuntu-latest
needs: unit-test
Expand All @@ -59,6 +59,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: 1.22
- run: go mod vendor
- run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}
2 changes: 1 addition & 1 deletion test/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ case $1 in
;;
3_0)
curl -sSLO https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh && chmod +x install-fabric.sh
./install-fabric.sh --fabric-version 3.0.0-preview
./install-fabric.sh --fabric-version 3.0.0-rc1
cd fabric-samples/test-network
echo y | ./network.sh up createChannel -bft -c mychannel
ARGS=(-cci initLedger)
Expand Down
Loading