cookie icon indicating copy to clipboard operation
cookie copied to clipboard

use nox in ci test

Open nstarman opened this issue 1 year ago • 2 comments

I noticed the CI test doesn't use nox, which is the testing framework in this cookie.

https://github.com/scientific-python/cookie/blob/88dc8212f740783d4a74b239429c35950a73a8bd/%7B%7Bcookiecutter.project_name%7D%7D/.github/workflows/ci.yml#L73-L74

nstarman avatar Jun 19 '24 16:06 nstarman

You don’t have to use nox in the CI, CI is also a test runner. For example, you might want to install pytest-github-actions-annotate-failures only in ci.

You can use it in CI, certainly, but you don’t have to. For a template like this, it is a little bit safer if someone does delete or ignore the noxfile, while using nox will be a little safer if people customize their nox test set up.

henryiii avatar Jun 19 '24 17:06 henryiii

pytest-github-actions-annotate-failures

That's a useful tool! Didn't know about it, thanks!

nstarman avatar Jun 19 '24 17:06 nstarman