Skip to content

Use the Nox testing automation tool for Python in GitHub Actions, updated to Node 20.

License

Notifications You must be signed in to change notification settings

fjwillemsen/setup-nox2

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

setup-nox2

Use the Nox test automation tool for Python in GitHub Actions. Based on the no longer maintained setup-nox by @daisylb, this action has been updated to provide Node 20 support, as well as updated dependencies.

Test & Lint

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. 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.

Usage

Basic:

steps:
  - uses: actions/checkout@v4
  - uses: fjwillemsen/[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

About

Use the Nox testing automation tool for Python in GitHub Actions, updated to Node 20.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 68.5%
  • Python 28.7%
  • Shell 2.8%