mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
1 KiB
YAML
39 lines
1 KiB
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" ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
secured:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
strategy:
|
|
matrix:
|
|
chaincode-language:
|
|
- go
|
|
chaincode-name:
|
|
- secured
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- 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 }}
|