-
Notifications
You must be signed in to change notification settings - Fork 44.7k
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
Code quality workflows #320
Code quality workflows #320
Conversation
- build & push sandbox image - run test runners, linters, and formatters - shortcuts to run and shell
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
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
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.
The scope is too big to sensibly merge. Split at least into 5 PRs:
- gitignore corrections
- updated docker build
- github CI
- readme typos, extra space and reformatting
- readme changes and additions
@kreneskyp Now it's out of date. Resolve the conflicts and split. |
@Torantulino
This PR adds common code quality workflows. Goal is to provide a consistent sandbox environment for both local and github environments.
I based this off of #228 for the Dockerfile fixes it provided.
Changes
Testing:
manual local testing of all tools/commands
workflows debugged in my fork. Workflows are running but test runners fail because of errors found by each of them.
https://github.com/kreneskyp/Auto-GPT/actions/runs/4630090599
TODO:
For follow-up
I recommend completing this PR and then fixing errors for each test runner in a separate PR. Turn on branch protection for for each as they reach a passing state.
It would be worth optimizing the image to make it a bit smaller. It will be a bit friendlier to cache limits.