Commit a876ce8
test: Add #[serial] to GitHub env var tests (#2832)
## Summary
- Add `#[serial(github_env)]` to `test_get_github_pr_number`
- Add `#[serial(github_env)]` to `test_get_github_base_ref`
- Rename serial key from `github_event_path` to `github_env` for all
tests
These tests manipulate GitHub environment variables
(`GITHUB_EVENT_PATH`, `GITHUB_EVENT_NAME`, `GITHUB_REF`,
`GITHUB_BASE_REF`) and should not run in parallel with other tests that
use the same environment variables to avoid race conditions.
The serial key has been renamed from `github_event_path` to `github_env`
to better reflect that it encompasses all GitHub environment variables,
not just `GITHUB_EVENT_PATH`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1fd856c commit a876ce8
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
| 1520 | + | |
1520 | 1521 | | |
1521 | 1522 | | |
1522 | 1523 | | |
| |||
1534 | 1535 | | |
1535 | 1536 | | |
1536 | 1537 | | |
| 1538 | + | |
1537 | 1539 | | |
1538 | 1540 | | |
1539 | 1541 | | |
| |||
1658 | 1660 | | |
1659 | 1661 | | |
1660 | 1662 | | |
1661 | | - | |
| 1663 | + | |
1662 | 1664 | | |
1663 | 1665 | | |
1664 | 1666 | | |
| |||
1738 | 1740 | | |
1739 | 1741 | | |
1740 | 1742 | | |
1741 | | - | |
| 1743 | + | |
1742 | 1744 | | |
1743 | 1745 | | |
1744 | 1746 | | |
| |||
0 commit comments