ciaranmcnulty/phpspec-githubactions

A PhpSpec 扩展,用于增强在 Github Actions 中运行时的体验

1.0.2 2020-11-18 16:37 UTC

This package is auto-updated.

Last update: 2024-09-19 00:26:08 UTC


README

此扩展增强了在 Github Actions 中运行 PhpSpec 时失败信息的显示,以便它们可以作为注释在 Pull Request 中显示。

Example output

安装

composer require --dev ciaranmcnulty/phpspec-githubactions

将以下内容添加到项目的 phpspec.yaml

extensions:
    Cjm\PhpSpec\GithubActionsExtension ~

用法

该扩展会自动检测是否处于 GA 环境,因此不需要采取任何进一步的操作。