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

Fix tests on Windows #26

Closed
NathanUrwin opened this issue Jul 13, 2018 · 2 comments
Closed

Fix tests on Windows #26

NathanUrwin opened this issue Jul 13, 2018 · 2 comments
Assignees
Labels

Comments

@NathanUrwin
Copy link
Owner

NathanUrwin commented Jul 13, 2018

$ pipenv run inv tests
usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=.
  inifile: None
  rootdir: C:\Users\user\Projects\nathanurwin\cookiecutter-git
@NathanUrwin NathanUrwin self-assigned this Jul 13, 2018
@NathanUrwin
Copy link
Owner Author

NathanUrwin commented Jul 14, 2018

pytest-dev/pytest#3434

A current work-around is to $ choco install python3 and $ pip install --user -r requirements.txt. Then you can run $ invoke tests.

@NathanUrwin
Copy link
Owner Author

The complete fix after rereading that pytest issue is to $ pipenv run pip install -r requirements.txt. Then you can $ pipenv run invoke tests. I'll make sure to add it to the Contributors section of the README! 👍

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

No branches or pull requests

1 participant