Nox is a flexible test automation tool for python.
https://nox.thea.codes/en/stable/
In this repository, you can see the example for how to run nox in github actions.
In this project, python package is managed by uv. install uv when it's not installed yet.
$ pip install uv
install nox as uv tool
$ uv tool install nox
Run all nox session
$ uvx nox
Run nox session with test tag
$ uvx nox -t test
Run nox session with lint tag
$ uvx nox -t lint
Run nox session with passing arguments
$ uvx nox -t test -- tests/test_train_lr.py
nox_test.yml is demonstrating how nox works in github actions.