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

[feature]: generate GitHub Actions automatically when keploy runs #1479

Merged
merged 28 commits into from
Apr 1, 2024

Conversation

Akash-Singh04
Copy link
Contributor

Related Issue

  • Info about Issue or bug

Closes: #1421

Describe the changes you've made

Added utils function GenerateGithubActions that generates a simple gihtub actions file keploy.yml when keploy record runs for the user.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Please let us know if any test cases are added

NIL

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Screenshots (if any)

image
image
image

@Akash-Singh04
Copy link
Contributor Author

@gouravkrosx The review for this Pull Request is pending, Kindly look into it at your earliest convenience.

utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
utils/utils.go Show resolved Hide resolved
utils/utils.go Outdated Show resolved Hide resolved
Akash-Singh04 and others added 6 commits February 17, 2024 16:56
Signed-off-by: Akash <akashsingh2210670@gmail.com>
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
@Akash-Singh04
Copy link
Contributor Author

@PranshuSrivastava As per the discussion on https://github.com/orgs/keploy/discussions/1595 , we concluded its best that the github action uses TestGPT. Hence this PR is ready for final review and for merge.

Kindly review it at the earliest

@charankamarapu
Copy link
Member

@Akash-Singh04 please update the branch with main. @PranshuSrivastava kindly review this PR after updating is done.

Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
@Akash-Singh04
Copy link
Contributor Author

@PranshuSrivastava I have updated the branch, do review at your earliest convenience!

@PranshuSrivastava
Copy link
Member

Hey @Akash-Singh04, all the ci tests are failing, can you check what is the issue?

@Akash-Singh04
Copy link
Contributor Author

Hey @Akash-Singh04, all the ci tests are failing, can you check what is the issue?

@PranshuSrivastava I was informed on the slack communication channel that this was due to the recent refactoring of Keploy to V2. I will check again if it has been fixed/ it's an issue in my PR as my other PR's are also failing tests.

@Akash-Singh04
Copy link
Contributor Author

@PranshuSrivastava I have fixed the merge conflicts and tested the PR locally. Please have a look

Copy link
Member

@PranshuSrivastava PranshuSrivastava left a comment

Choose a reason for hiding this comment

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

LGTM

@Sarthak160 Sarthak160 merged commit f625961 into keploy:main Apr 1, 2024
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2024
@Akash-Singh04 Akash-Singh04 deleted the generateGithubActions branch April 7, 2024 12:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]: generate GitHub Actions automatically when keploy runs
4 participants