mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
* run test suites with 2.5 binaries and images Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Swap to use the Helper Function to create policies (#907) The old way used the direct protobuf functions, there is a helper function in the chaincode does exactly that. Signed-off-by: Matthew B White <whitemat@uk.ibm.com> Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> Signed-off-by: Matthew B White <whitemat@uk.ibm.com> Co-authored-by: Matthew B White <whitemat@uk.ibm.com>
36 lines
857 B
YAML
36 lines
857 B
YAML
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
name: Test Network Secured 🔔
|
|
run-name: ${{ github.actor }} is running the Test Network Secured tests 🔔
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ "main", "release-2.5" ]
|
|
pull_request:
|
|
branches: [ "main", "release-2.5" ]
|
|
|
|
jobs:
|
|
secured:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
matrix:
|
|
chaincode-language:
|
|
- go
|
|
chaincode-name:
|
|
- secured
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up the test network runtime
|
|
uses: ./.github/actions/test-network-setup
|
|
|
|
- name: Run Test
|
|
working-directory: test-network
|
|
run: ../ci/scripts/run-test-network-secured.sh
|
|
env:
|
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
|
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
|
|