Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use nox in ci test #441

Open
nstarman opened this issue Jun 19, 2024 · 2 comments
Open

use nox in ci test #441

nstarman opened this issue Jun 19, 2024 · 2 comments

Comments

@nstarman
Copy link

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

python -m pytest -ra --cov --cov-report=xml --cov-report=term
--durations=20

@henryiii
Copy link
Collaborator

henryiii commented Jun 19, 2024

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.

@nstarman
Copy link
Author

pytest-github-actions-annotate-failures

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants