Skip to content

Commit

Permalink
e2e: add corda2fab-test job (network up and down only)
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 10, 2021
1 parent 62e6675 commit 0adccdc
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,50 @@ jobs:
make test
make network-down
corda2fab-test:
name: corda2fab-test
runs-on: ubuntu-20.04
needs:
- relayer-build
- corda-build
- fabric-build
steps:
- uses: actions/checkout@v2
- name: Restore relayer binary cache
uses: actions/cache@v2
with:
path: ${{ env.CACHE_BIN_RELAYER_PATH }}
key: ${{ runner.os }}-${{ env.CACHE_BIN_RELAYER_KEY }}-${{ github.sha }}
- name: Restore Fabric docker image cache
uses: actions/cache@v2
with:
path: ${{ env.CACHE_DOCKER_FABRIC_DIR }}
key: ${{ runner.os }}-${{ env.CACHE_DOCKER_FABRIC_KEY }}-${{ github.sha }}
- name: Load Fabric docker images
working-directory: ./tests/scripts
run: |
./load_docker_images $CACHE_DOCKER_FABRIC_DIR \
fabric-orderer:latest \
fabric-data:latest \
fabric-peer0-org1:latest \
fabric-chaincode-org1:latest
- name: Restore Corda docker image cache
uses: actions/cache@v2
with:
path: ${{ env.CACHE_DOCKER_CORDA_DIR }}
key: ${{ runner.os }}-${{ env.CACHE_DOCKER_CORDA_KEY }}-${{ github.sha }}
- name: Load Corda docker images
working-directory: ./tests/scripts
run: |
./load_docker_images $CACHE_DOCKER_CORDA_DIR \
yui-corda-ibc-orderer:latest \
fabric-chaincode-org1:latest
- name: Run Test
working-directory: ./tests/cases/corda2fab
run: |
make network
make network-down
tm2eth-test:
name: tm2eth-test
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 0adccdc

Please sign in to comment.