Skip to content

GitHubActionsTestLoggerの導入 #2491

@tsuna-can-se

Description

@tsuna-can-se

概要

GitHub上でCIを流すとき、以下のライブラリを入れておくと、テスト失敗箇所を素早く探し出すことができる。

https://github.com/Tyrrrz/GitHubActionsTestLogger

ただし、最新のテストランナーには対応しておらず、対応待ちの状況。

Tyrrrz/GitHubActionsTestLogger#41

これが解消次第、取り込みを検討する。

詳細 / 機能詳細(オプション)

このライブラリはGitHub上でテストを実行する時だけ追加すればよい。
よってCIのパイプライン内で、動的にインストールして実行するのがよさそう。
以下のPRの.github/workflows/dotnet.ymlの修正がそれに該当する。

https://github.com/tsuna-can-se/dependabot-sample/pull/21/

全サンプルに影響があるので、適宜Issueを分割して取り組む。

完了条件

  • テスト失敗時、GitHubのPR上で失敗箇所がわかりやすく表示されていること。

Metadata

Metadata

Assignees

No one assigned

    Labels

    target: Azure AD B2C AuthAzure AD B2C認証の要件別サンプルに関係があるtarget: ConsoleAppWithDIコンソールアプリケーションの要件別サンプルに関係があるtarget: DresscaサンプルアプリケーションDresscaに関係がある

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions