Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add option to run Snippets as part of testing

オープン
#232 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, swift
領域
ci-cd

調査の方向性

まず、リポジトリに既存する 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

swiftlang/github-workflows のほかの issue

swiftlang/github-workflows の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。