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

Nose2 does not execute tests with correct Python environment during CI build #32

Closed
sven1103 opened this issue Mar 26, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@sven1103
Copy link
Member

Description: Although the Python environment is loaded correctly during the CI build, it seems that nose2 is running tests under the loaded Python environment, but Python 2.7.

So we are missing Syntax errors during CI testing, which only occur in specific Python versions.

Suggestion: Call nose2 as module in the loaded Python environment with python -m nose2 ...

@sven1103 sven1103 added the bug Something isn't working label Mar 26, 2018
@ewels
Copy link
Member

ewels commented Mar 27, 2018

Any reason we're using nose2 versus other testing packages? This statement leaves me a little worried on their docs homepage:

However, given the current climate, with much more interest accruing around pytest, nose2 is prioritizing bugfixes and maintenance ahead of new feature development.

@sven1103
Copy link
Member Author

I am happy to switch to pytest.

@sven1103
Copy link
Member Author

Fixed in #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants