Commit 651f8cf
authored
Fix pending Integration Tests check for non-agentex PRs (#138)
## Summary
- Fixes the perpetually pending "Integration Tests Summary" check on PRs
that don't modify `agentex/**` files (like dependabot updates)
- The required check now always runs and reports success/skip
appropriately
## Problem
The integration tests workflow only triggered on `agentex/**` path
changes, but "Integration Tests Summary" is a required check in branch
protection. This caused PRs like #137 (dependabot bump) to be blocked
with a pending check that would never run.
## Solution
- Removed `paths` filter from `pull_request` trigger so workflow always
starts
- Added "Detect Changes" job that checks if `agentex/` files were
modified using `git diff`
- Test jobs are conditionally run based on the detection output
- Summary job always runs to satisfy branch protection, but gracefully
reports "skipped" when no relevant changes detected
## Test plan
- [ ] This PR itself should pass (no agentex changes, so tests skip)
- [ ] Verify #137 would now pass (can re-run checks after merge)
- [ ] Future agentex PRs should still run full integration tests1 parent 2ff073b commit 651f8cf
1 file changed
Lines changed: 61 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
25 | 67 | | |
26 | 68 | | |
| 69 | + | |
| 70 | + | |
27 | 71 | | |
28 | 72 | | |
29 | 73 | | |
| |||
446 | 490 | | |
447 | 491 | | |
448 | 492 | | |
| 493 | + | |
449 | 494 | | |
450 | 495 | | |
451 | 496 | | |
452 | | - | |
453 | | - | |
| 497 | + | |
| 498 | + | |
454 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
455 | 510 | | |
| 511 | + | |
456 | 512 | | |
457 | 513 | | |
458 | 514 | | |
| |||
461 | 517 | | |
462 | 518 | | |
463 | 519 | | |
| 520 | + | |
464 | 521 | | |
465 | 522 | | |
466 | 523 | | |
| |||
0 commit comments