python-test

Contents

python-test#

Test Python code.

Guidance

Developers MUST run this action in a dedicated, unprivileged workflow job to limit the risk of a supply chain attack.

Run tests via GNU Make. This action installs Python along with matching versions of Google Chrome and ChromeDriver for use with Selenium. The makefile targets build-deps (which runs as the superuser) and test handle other test dependencies.

Inputs#

python-version:

(required, default value: "3.13")

Specify the version of Python with which to run pytest.


skip-artifact-downloads:

Set this to true when managing the contents of the runner’s working directory outside of this action.

Deprecations#

Important

The following inputs are no longer used and will be removed in a future release.

requirements:

This input will be removed after 2026-12-31. The action now downloads all available workflow artifacts by default. Use the skip-artifact-downloads input to change this behavior.