Skip to content

Cloud-Code-AI/kaizen-unittest-runner-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaizen Unit Test Runner

This GitHub Action runs unit tests generated by Kaizen for Python, JavaScript, TypeScript, and React projects.

Usage

steps:
- uses: actions/checkout@v2
- name: Run Kaizen unit tests
  uses: Cloud-Code-AI/[email protected]
  with:
    python-version: '3.x'  # optional, default is '3.x'

Inputs

  • python-version: The version of Python to use (default: '3.x')

Note: This action uses the latest version of Node.js by default.

How it works

This action uses the kaizen-cli to run Python unit tests located in the .kaizen/unittests directory. For JavaScript, TypeScript, and React projects, it uses the following test runners:

  • JavaScript and TypeScript tests are run using jest
  • React tests are run using react-scripts test

The action supports both poetry and requirements.txt for Python projects.

License

This project is licensed under the MIT License.