Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
39 lines (30 loc) · 1.04 KB

README.md

File metadata and controls

executable file
·
39 lines (30 loc) · 1.04 KB

BlueRacer

PyTest durations reporter for GitHub.

How to use

...
      - uses: teamniteo/blueracer-action@main
        id: blueracer
        with:
          durations-file: test_durations.csv
          percentage-warn: 10 # optional
          percentage-error: 30 # optional

      - name: Find Comment
        uses: peter-evans/find-comment@main
        id: fc
        if: github.event_name == 'pull_request'
        with:
          issue-number: ${{ github.event.pull_request.number }}
          body-includes: "### BlueRacer unit tests"

      - name: Create or update comment
        uses: peter-evans/create-or-update-comment@main
        if: github.event_name == 'pull_request'
        with:
          comment-id: ${{ steps.fc.outputs.comment-id }}
          issue-number: ${{ github.event.pull_request.number }}
          body: ${{ steps.blueracer.outputs.report }}
          edit-mode: replace

Developing and Releasing

see https://github.com/actions/typescript-action