This GitHub Action runs unit tests generated by Kaizen for Python, JavaScript, TypeScript, and React projects.
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'
python-version
: The version of Python to use (default: '3.x')
Note: This action uses the latest version of Node.js by default.
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.
This project is licensed under the MIT License.