Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
terminal

GitHub Action

UTBot code analysis

test-1.0.20 Pre-release

UTBot code analysis

terminal

UTBot code analysis

UTBot code analysis allows adding tests and code analysis information by pull request

Installation

Copy and paste the following snippet into your .yml file.

              

- name: UTBot code analysis

uses: slawa4s/[email protected]

Learn more about this action in slawa4s/Utbot-Action

Choose a version

Utbot Action

You can use this GitHub Action to create pull requests tests and code analysis info to your repository

Content

Inputs

All inputs are required

Name Description Default
test_push_info Add tests to pull request true
test_delete_info Delete old tests in pull request false

Installation

  • Settings > Actions > Allow GitHub Actions to create and approve pull requests
  • permissions: write-all line at action before using Utbot Action

Examples

on:
  workflow_dispatch:
    
jobs:
  build:
    runs-on: ubuntu-latest
    permissions: write-all
    steps:
    - name: UTBot code analysis
      uses: slawa4s/[email protected]