Skip to content

Cacti image name changes and TODO mentions #2

Cacti image name changes and TODO mentions

Cacti image name changes and TODO mentions #2

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
FSC_PATH: "${{ github.workspace }}/fabric-smart-client"
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools
- name: Run checks
working-directory: ${{ env.FSC_PATH }}
run: make checks
utest:
needs: checks
runs-on: ubuntu-latest
strategy:
matrix:
tests: [unit-tests]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools
- name: Download fabric binaries
working-directory: ${{ env.FSC_PATH }}
run: make download-fabric
- name: Run ${{ matrix.tests }}
working-directory: ${{ env.FSC_PATH }}
run: make ${{ matrix.tests }}
itest:
needs: checks
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tests: [
atsacc,
fabric-stoprestart,
atsafsc,
fpc-echo,
iou,
iou-hsm,
iouorionbe,
orioncars,
pingpong,
stoprestart,
twonets,
weaver-relay,
chaincode-events
]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: ${{ env.FSC_PATH }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "${{ env.FSC_PATH }}/go.mod"
- name: Set up tools
working-directory: ${{ env.FSC_PATH }}
run: make install-tools
- name: Download fabric binaries
working-directory: ${{ env.FSC_PATH }}
run: make download-fabric
- name: Docker
working-directory: ${{ env.FSC_PATH }}
run: make docker-images
- name: Set up softhsm
working-directory: ${{ env.FSC_PATH }}
run: make install-softhsm
- name: Run ${{ matrix.tests }}
working-directory: ${{ env.FSC_PATH }}
run: make integration-tests-${{ matrix.tests }}