-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: DavidLiu <david.yx.liu@oracle.com>
- Loading branch information
DavidLiu
committed
Mar 24, 2022
1 parent
e6a3e75
commit fca9f5a
Showing
3 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters