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

chore(actions): move travis tests to github actions #223

Merged
merged 5 commits into from
Jan 8, 2021

Conversation

shubham14bajpai
Copy link
Contributor

@shubham14bajpai shubham14bajpai commented Jan 6, 2021

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

run: make test

e2e-tests:
needs: ['unit-tests']
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@akhilerm akhilerm left a 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.

Copy link
Contributor

@akhilerm akhilerm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants