- The following repository will be performing a unit test on your python file noted with its given test case. Unit testing tool which I have used is
Pytest. For more information on how to create a unit test case in python follow the given steps. - Create a
name.pyfile - After that create a test case file which you can either name it as
test_name.pyorname_test.py. Remember that includingtest_is important as pytest will be picking up those files which either start or end with keywordtest. - Moving on add this action to your .yml file and that's it you are done.
- Your
test_name.pywill be executed and will return the result.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|