getsentry / getsentry/sentry-python

Use job dependency flow for CI jobs

未關閉
#4,394 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Python Tests
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

The Ruby SDK cleaned up their CI flow by using job dependency flows:

@neel.shah said:

> btw probably interesting for everyone, @peter made the ruby CI really clean by creating a job dependency flow
> it looks like this
>
> [https://github.com/getsentry/sentry-ruby/actions/runs/15043844757](https://github.com/getsentry/sentry-ruby/actions/runs/15043844757)
> the main file is this
> [https://github.com/getsentry/sentry-ruby/blob/master/.github/workflows/tests.yml](https://github.com/getsentry/sentry-ruby/blob/master/.github/workflows/tests.yml)
> that invokes each specific test matrix
> [https://github.com/getsentry/sentry-ruby/blob/master/.github/workflows/sentry_ruby_test.yml](https://github.com/getsentry/sentry-ruby/blob/master/.github/workflows/sentry_ruby_test.yml)

We could implement something similar for the Python SDK to better group tests. We already have some grouping, but this grouping basically puts all tests for different categories in different jobs. Instead, we could have a single job for tests, with all the current groups as sub-jobs of that main test job

貢獻指南

開啟貢獻指南

研究方向

Start by comparing the linked sentry-ruby .github/workflows/tests.yml and sentry_ruby_test.yml files, then inspect the Python SDK's existing CI grouping. Done means the current test categories run as sub-jobs under one parent test job, with the existing test coverage preserved.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, python
領域
ci-cd
Issue 類型
重構
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。