Help us understand the problem. What is going on with this article?

CircleCI画面上でビルドしたファイルを閲覧する方法

More than 1 year has passed since last update.

phpunitのカバレッジHTMLとか簡単に閲覧するためにはCircleCIのArtifactsという機能を使います。

https://circleci.com/docs/2.0/artifacts/#artifacts-overview

公式ページに書いてあるのですがphpunitの場合は

.circleci/config.yml
version: 2
jobs:
  build:
------- 省略 ---------
    steps:
      - run:
          name: run phpunit with measuring coverage
          command: ./vendor/bin/phpunit --coverage-html /tmp/coverage

      - store_artifacts:
          path: /tmp/coverage
          destination: coverage

というようにstore_artifactsというステップが必要になります。
これを設定するとカバレッジのHTMLがCircleCI上のArtifactsタブから閲覧することができるようになります。

ググると
$CIRCLE_ARTIFACTS
って環境変数のパスに置けばいいよとか書いてありますが今は使えません。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした