Skip to content

Commit

Permalink
Run make test on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Silva Sens <[email protected]>
  • Loading branch information
Arthur Silva Sens committed Aug 4, 2023
1 parent 0bf7a70 commit 7e5b5bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: unit
on:
pull_request:
push:
branches:
- 'main'
jobs:
unit-tests:
runs-on: ubuntu-latest
name: Unit tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make test
2 changes: 1 addition & 1 deletion apis/coralogix/v1alpha1/alert_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ func TestDeepEqualNotificationGroupsNotEquals(t *testing.T) {
if equal, _ := DeepEqualNotificationGroups(notificationGroups, actualNotificationGroups); equal {
t.Error("Expected to be not equal but got")
}
}
}

0 comments on commit 7e5b5bf

Please sign in to comment.