Skip to content

add --prometheus-addr option #250

add --prometheus-addr option

add --prometheus-addr option #250

Workflow file for this run

name: Functional Test
on:
pull_request:
push:
branches: # pushing tags is also considered as a push. Exclude this here.
- "*"
schedule:
- cron: "0 0 * * 0" # https://crontab.guru/#0_0_*_*_0
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- run: make tape
name: build tape binary program
- run: make install
name: install tape to GOBIN
- run: make unit-test
name: run unit test
integration-test-1412:
runs-on: ubuntu-latest
needs: unit-test
strategy:
matrix:
FABRIC_VERSION: [1_4]
INTERGATION_CASE: [ANDLogic]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- run: go mod vendor
- run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}
integration-test:
runs-on: ubuntu-latest
needs: unit-test
strategy:
matrix:
FABRIC_VERSION: [2_2, 2_5]
INTERGATION_CASE: [ORLogic, ANDLogic, COMMITONLY, ENDORSEMNTONLY]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- run: go mod vendor
- run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}