jimkring / action-python-nogil

Build in a dockerized nogil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Nogil Github Action - Multithreaded Python without the GIL

Run, test, and build python code in nogil-3.9.10 -> Multithreaded Python without the GIL

see https://github.com/colesbury/nogil/ and PEP 703 for more info on nogil.

Usage

    - uses: actions/checkout@v3
    - uses: jimkring/action-python-nogil@0.1
      with:
        # install requirements
        requirements-file: requirements.txt
        # command is required 
        command: python -V
        # command2 - command6 are optional
        # shell (.sh) scripts are good too!
        command2: ./lots_of_commands.sh
        command3: pip install pytest && pytest
        command4: python run_benchmarks.py
        command5: python setup.py build
        command6: echo "all done!"

About

Build in a dockerized nogil

License:MIT License


Languages

Language:Dockerfile 61.3%Language:Shell 38.7%