Skip to content

Commit

Permalink
after alpha merge clean up
Browse files Browse the repository at this point in the history
Signed-off-by: DavidLiu <david.yx.liu@oracle.com>
  • Loading branch information
DavidLiu committed Mar 24, 2022
1 parent e6a3e75 commit fca9f5a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: release latest

on:
push:
branches:
- "master"
tags:
- "v*"
schedule:
- cron: '0 0 1 * *' # https://crontab.guru/#0_0_1_*_*
workflow_dispatch:
env:
REGISTRY: ghcr.io
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
pull_request:
push:
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-go@main
with:
go-version: 1.16
- run: make basic-checks
name: run basic checks like linter
- run: make tape
name: build tape binary program
- run: make escapes
name: run escapes check for tape
- run: make install
name: install tape to GOBIN
- run: make unit-test
name: run unit test
docker-build-test:
runs-on: ubuntu-latest
needs: unit-test
steps:
- run: make docker
name: build tape docker
integration-test:
runs-on: ubuntu-latest
needs: unit-test
strategy:
matrix:
FABRIC_VERSION: [2_2, latest]
INTERGATION_CASE: [ORLogic, ANDLogic, COMMITONLY, ENDORSEMNTONLY]
steps:
- run: make integration-test FABRIC_VERSION=${{matrix.FABRIC_VERSION}} INTERGATION_CASE=${{matrix.INTERGATION_CASE}}
2 changes: 2 additions & 0 deletions pkg/infra/observer/block_collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (

"github.com/google/uuid"
"github.com/hyperledger/fabric-protos-go/peer"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
log "github.com/sirupsen/logrus"
)

Expand Down

0 comments on commit fca9f5a

Please sign in to comment.