-
Notifications
You must be signed in to change notification settings - Fork 69
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
chore(actions): move travis tests to github actions #223
Conversation
Signed-off-by: shubham <[email protected]>
b4eaa17
to
832e072
Compare
Signed-off-by: shubham <[email protected]>
832e072
to
f9d6d15
Compare
Signed-off-by: shubham <[email protected]>
Signed-off-by: shubham <[email protected]>
run: make test | ||
|
||
e2e-tests: | ||
needs: ['unit-tests'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shubham14bajpai Do we need e2e to be dependent on unit-tests. ?
IMHO, lint
, unit-tests
and e2e-tests
can be run in parallel. Only the final build/push needs to be dependent on all these 3 jobs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think checking the modules using make deps and running unit tests to check for syntactical errors is good before building and running the images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shubham14bajpai Given some comments.
Signed-off-by: shubham <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: shubham [email protected]
This PR moves the sanity tests from travis to github actions by deploying a minikube using https://github.com/marketplace/actions/setup-minikube-kubernetes-cluster
Got the above action from https://github.com/eclipse/jkube/blob/master/.github/workflows/e2e-tests.yml