Add option to run Snippets as part of testing
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
まず、リポジトリに既存する GitHub workflow の設定と、issue で説明されている Swift 5.7 snippet の動作を確認します。サポート対象のすべてのプラットフォームで swift run <SnippetName> 用の snippet を workflow が選択する方法を決定します。設定が文書化され、選択された snippet が関連する GitHub pipeline で正常に実行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Today it is possible to do swift run <SnippetName> if they are present in the Swift package. It would be great to have the ability to verify that the Snippets work cross-platform, and the best way I see is to allow doing this in GitHub pipelines.
Thinking about it, I believe it would make sense to have a configuration option which Snippets to run. I don't think there is a way now to run all snippets in one swift call anyway.
Background info: the pitch about snippets is here, and should be implemented in 5.7, so all supported versions in this workflow should be able to run them.
Will there be interest in such a feature?
- 主要言語
- Swift
- スター
- 115
- フォーク
- 57
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
swiftlang/github-workflows のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
swiftlang/github-workflows#305 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swiftlang/github-workflows#261 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
swiftlang/github-workflows#258 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
swiftlang/github-workflows#312 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
swiftlang/github-workflows#277 · コメント 1 件 ·
swiftlang/github-workflows の issue をすべて見る
似ている issue
-
pending-maintainer-response pending-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
area:build bug good first issue P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
uttrflow/uttrflow-swift#1412 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
T-Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
element-hq/element-x-ios#6191 ·