Skip to content

Commit

Permalink
NOISSUE - Remove unnecessary mock files and add sdk tests to CI (#53)
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Gateru <[email protected]>
  • Loading branch information
felixgateru authored Jan 24, 2025
1 parent b853f9e commit 1f57031
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 1,671 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
- "pkg/events/**"
- "pkg/messaging/**"
pkg-sdk:
- "pkg/sdk/**"
- "bootstrap/api/**"
- "consumers/notifiers/api/**"
provision:
- "provision/**"
- "cmd/provision/**"
Expand Down Expand Up @@ -134,6 +139,11 @@ jobs:
run: |
go test --race -v -count=1 -coverprofile=coverage/pkg-errors.out ./pkg/errors/...
- name: Run pkg sdk tests
if: steps.changes.outputs.pkg-sdk == 'true' || steps.changes.outputs.workflow == 'true'
run: |
go test --race -v -count=1 -coverprofile=coverage/pkg-sdk.out ./pkg/sdk/...
- name: Run provision tests
if: steps.changes.outputs.provision == 'true' || steps.changes.outputs.workflow == 'true'
run: |
Expand Down
192 changes: 0 additions & 192 deletions auth/mocks/token_client.go

This file was deleted.

Loading

0 comments on commit 1f57031

Please sign in to comment.