Split test targets and add nightly runs#67
Conversation
Greptile OverviewGreptile SummaryThis PR implements a comprehensive test organization strategy by splitting tests into explicit categories (fast, slow, nondeterministic) and creating targeted CI workflows. The changes enable faster PR feedback by running only fast tests in the main CI pipeline, while moving slower and nondeterministic tests to a nightly schedule. The implementation includes:
The marker-based approach aligns with the existing test infrastructure ( Confidence Score: 5/5
Important Files Changed
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
…plate into test-targets-split
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 |
There was a problem hiding this comment.
use actions/checkout@v4 for consistency with test_target_tests.yaml
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agents_validate.yaml
Line: 26:26
Comment:
use `actions/checkout@v4` for consistency with `test_target_tests.yaml`
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.| - name: Read Python version | ||
| run: echo "PYTHON_VERSION=$(cat .python-version | tr -d '\n')" >> $GITHUB_ENV | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v3 |
There was a problem hiding this comment.
use actions/setup-python@v5 for consistency with test_target_tests.yaml
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/agents_validate.yaml
Line: 38:38
Comment:
use `actions/setup-python@v5` for consistency with `test_target_tests.yaml`
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 |
There was a problem hiding this comment.
use actions/checkout@v4 for consistency with test_target_tests.yaml
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/nightly_tests.yaml
Line: 13:13
Comment:
use `actions/checkout@v4` for consistency with `test_target_tests.yaml`
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.| - name: Read Python version | ||
| run: echo "PYTHON_VERSION=$(cat .python-version | tr -d '\n')" >> $GITHUB_ENV | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v3 |
There was a problem hiding this comment.
use actions/setup-python@v5 for consistency with test_target_tests.yaml
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/nightly_tests.yaml
Line: 25:25
Comment:
use `actions/setup-python@v5` for consistency with `test_target_tests.yaml`
<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>
How can I resolve this? If you propose a fix, please make it concise.
Summary
Testing