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>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
name: Test Network Private 🔒
|
|
run-name: ${{ github.actor }} is running the Test Network Private 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:
|
|
private:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
strategy:
|
|
matrix:
|
|
chaincode-language:
|
|
- go
|
|
- java
|
|
- typescript
|
|
chaincode-name:
|
|
- private
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- 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-private.sh
|
|
env:
|
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
|
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|