Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Setup Nox

Actions
Use the Nox testing automation tool for Python in GitHub Actions
0.1.0
Star (24)

setup-nox

Use the Nox testing automation tool for Python in GitHub Actions.

GitHub Actions status

This action sets up a Python environment with Nox by:

  • Activating every version of Python that GitHub Actions supports.
  • Installing Nox.

After you use it, you'll be able to use Nox with every Python version available on GitHub Actions. (The exception to this is on Windows, where at present only CPython 3.x are guaranteed to work). Nox itself will be installed in the newest available Python version.

This action runs in the GitHub Actions environment itself and not in Docker, which means it works on Linux, Windows and macOS, but only with the available Python versions. If you need Python versions outside that, but you only need Linux, you can also try the thekevjames/nox Docker images.

It is forked from the official actions/setup-python action by GitHub.

Usage

Basic:

steps:
- uses: actions/[email protected]
- uses: excitedleigh/[email protected]
- run: nox

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

Setup Nox is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Use the Nox testing automation tool for Python in GitHub Actions
0.1.0

Setup Nox is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.