Pause test finder, have it run cargo fmt (#4958)
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: Daily Test Coverage Finder
|
name: Daily Test Coverage Finder
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
# schedule:
|
||||||
# Run daily at 2 AM UTC
|
# # Run daily at 2 AM UTC - PAUSED
|
||||||
- cron: '0 2 * * *'
|
# - cron: '0 2 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
dry_run:
|
dry_run:
|
||||||
@@ -68,9 +68,10 @@ jobs:
|
|||||||
- Fix the test code
|
- Fix the test code
|
||||||
- Apply the fix and run the test again
|
- Apply the fix and run the test again
|
||||||
- Repeat up to 3 times until the test passes
|
- Repeat up to 3 times until the test passes
|
||||||
6. Once the test passes (or after 3 attempts), save the final changes as a git diff to /tmp/test_addition.patch
|
6. Once the test passes, run `cargo fmt` to format all the code properly
|
||||||
7. If successful, write the name of the function you tested to /tmp/function_tested.txt (just the function name, e.g., "check_tool_call" or "MyStruct::my_method")
|
7. After formatting, save the final changes as a git diff to /tmp/test_addition.patch
|
||||||
8. Only create the patch file if the test actually passes
|
8. If successful, write the name of the function you tested to /tmp/function_tested.txt (just the function name, e.g., "check_tool_call" or "MyStruct::my_method")
|
||||||
|
9. Only create the patch file if the test actually passes
|
||||||
|
|
||||||
Important:
|
Important:
|
||||||
- Only add ONE test for ONE function
|
- Only add ONE test for ONE function
|
||||||
|
|||||||
Reference in New Issue
Block a user