Skip to content
zap

GitHub Action

Python import time

v0.0.1 Latest version

Python import time

zap

Python import time

Bound the time it takes for some python code to import stuff

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Python import time

uses: pharmpy-dev-123/[email protected]

Learn more about this action in pharmpy-dev-123/gha-python-import-time

Choose a version

pharmpy-dev-123/gha-python-import-time

Bound the time it takes for some python code to import stuff.

      - uses: pharmpy-dev-123/gha-python-import-time@main
        with:
            code: 'import json'
            threshold: 100000