Skip to content

Commit

Permalink
add unit test execution step in build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kanchwala committed Jul 24, 2020
1 parent 930ac6d commit 41e04cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:
- name: Build Terrascan
run: |
make build
- name: Run unit tests
run: |
make unit-tests
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ govet:
# go mod validation
gomodverify:
go mod verify


# run unit tests
unit-tests:
./scripts/generate-coverage.sh

0 comments on commit 41e04cf

Please sign in to comment.