Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 622 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 622 Bytes

actions-execute-testbed

Action to execute a testbed with Python's unittest test discovery

Options

  • directory: The directory in which test discovery should be performed, searching for the test_file
  • test_file: The python file containing the testbed
  • python_version: Which version of Python to install on local GitHub Actions runner (optional)

Usage

# For a module named `Module`
- name: Execute Module Testbed
    uses: opengamedata/[email protected]
    with:
    directory: "tests/cases/utils"
    test_file: "t_Module.py"
    python_version: ${{ vars.OGD_PYTHON_VERSION }}