Skip to content

Expose driver name #2055

Expose driver name

Expose driver name #2055

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
- name: Set up tools
run: make install-tools
- name: Run checks
run: make checks
utest:
needs: checks
runs-on: ubuntu-latest
strategy:
matrix:
tests: [unit-tests]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
- name: Set up tools
run: make install-tools
- name: Download fabric binaries
run: make download-fabric
- name: Run ${{ matrix.tests }}
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,
orioncars,
pingpong,
stoprestart,
twonets,
weaver-relay,
chaincode-events
]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
- name: Set up tools
run: make install-tools
- name: Download fabric binaries
run: make download-fabric
- name: Docker
run: make docker-images
- name: Set up softhsm
run: make install-softhsm
- name: Run ${{ matrix.tests }}
run: make integration-tests-${{ matrix.tests }}