botsudo/action-scrutinizer

Sponsored OSS

By Wdes SAS / Sudo Bot

Updated about 2 months ago

A GitHub action to send Scrutinizer coverage

Image
Security
Integration & delivery
Developer tools
0

100K+

botsudo/action-scrutinizer repository overview

action-scrutinizer

A GitHub action to send Scrutinizer coverage

Build docker image get ocular version

You can find the image on Docker Hub

Docker Pulls

Example usage

  - uses: actions/checkout@v4
    with:
        # Fetch 10 commits or Scrutinizer will throw ("Failed to retrieve commit parents. If you use a shallow git checkout, please checkout at least a depth of one."), see: RepositoryIntrospector at scrutinizer-ci/ocular GitHub repository
        # 10 commits is an arbitrary value that is more than 1 commit
        fetch-depth: 10
  - name: Upload Scrutinizer coverage
    uses: sudo-bot/action-scrutinizer@latest

Example advanced usage

  - uses: actions/checkout@v4
    with:
        # Fetch 10 commits or Scrutinizer will throw ("Failed to retrieve commit parents. If you use a shallow git checkout, please checkout at least a depth of one."), see: RepositoryIntrospector at scrutinizer-ci/ocular GitHub repository
        # 10 commits is an arbitrary value that is more than 1 commit
        fetch-depth: 10
  - name: Upload Scrutinizer coverage
    uses: sudo-bot/action-scrutinizer@latest
    # Do not run this step on forked versions of the main repository (example: contributor forks)
    if: github.repository == 'sudo-bot/example-repo'
    with:
        cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"

Tag summary

Content type

Image

Digest

sha256:1e297f9e2

Size

40.4 MB

Last updated

about 2 months ago

Requires Docker Desktop 4.37.1 or later.

This week's pulls

Pulls:

2,513

Last week