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 天 1 小时
30 天内合并 PR
213

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。