Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unit test] Enable Unit test and add target in Makefile #145

Merged
merged 2 commits into from
Aug 8, 2019

Conversation

codenio
Copy link
Contributor

@codenio codenio commented Aug 8, 2019

ISSUE TYPE
  • Feature Pull Request
SUMMARY

This PR

  • Adds make target to run unit tests
  • Enable unit test check in travis

Signed-off-by: Shovan Maity shovan.cse91@gmail.com

Patched

  • Rebased imazik:enable-unit-test onto infracloudio:develop
  • adds unit-test to make release

Signed-off-by: Aananth K aananthraj1995@gmail.com

Fixes #144

This PR
- Adds make target to run unit tests
- Enable unit test check in travis
Signed-off-by: Shovan Maity <shovan.cse91@gmail.com>
@PrasadG193
Copy link
Collaborator

PrasadG193 commented Aug 8, 2019

Should we also run unit tests when we make git-tag?
https://github.com/infracloudio/botkube/blob/598802e91cc4c638aa9e3bd741e494f9e1d8143b/Makefile#L13

@codenio
Copy link
Contributor Author

codenio commented Aug 8, 2019

Should we also run unit tests when we make git-tag?

during a release.?
Do we have any seperate use case for git-tag excluding release.?
https://github.com/infracloudio/botkube/blob/598802e91cc4c638aa9e3bd741e494f9e1d8143b/Makefile#L9

@PrasadG193
Copy link
Collaborator

Nope, we can add it in release also.

This commit
- Just rebased this PR onto infracloudio:develop 
- adds `unit-test` to `make release`

Signed-off-by: Aananth K <aananthraj1995@gmail.com>
@codenio codenio force-pushed the feature/enable-unit-test branch from 598802e to 414e9f3 Compare August 8, 2019 07:32
@codenio
Copy link
Contributor Author

codenio commented Aug 8, 2019

added unit-test to make release

@PrasadG193 PrasadG193 merged commit d2d14cc into kubeshop:develop Aug 8, 2019
@codenio codenio deleted the feature/enable-unit-test branch August 8, 2019 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit-Test code in Travis
4 participants