Skip to content

Commit

Permalink
build: also run unit-tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Jan 29, 2022
1 parent 9f6c877 commit 87beaa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Build binary
run: make build

- name: Unit tests
run: make test

- name: Build image
uses: docker/build-push-action@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ vet:

test-registries:
go test github.com/ckotzbauer/sbom-operator/internal/registry

test:
go test github.com/ckotzbauer/sbom-operator/internal/syft

0 comments on commit 87beaa7

Please sign in to comment.