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

make test doesn't work #130

Closed
Okabe-Junya opened this issue Sep 21, 2023 · 1 comment
Closed

make test doesn't work #130

Okabe-Junya opened this issue Sep 21, 2023 · 1 comment

Comments

@Okabe-Junya
Copy link
Contributor

The tests pass, but it seems like make test is not working properly.

make test result

$ make test
pytest -v --cov=. --cov-config=.coveragerc --cov-fail-under=80 --cov-report term-missing
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=. --cov-config=.coveragerc --cov-fail-under=80 --cov-report
  inifile: None
  rootdir: /Users/junyaokabe/workspace/issue-metrics

make: *** [test] Error 4

pytest result

$ pytest
======================================================================== test session starts =========================================================================
platform darwin -- Python 3.11.0, pytest-7.4.0, pluggy-1.2.0
rootdir: /Users/junyaokabe/workspace/issue-metrics
collected 49 items                                                                                                                                                   

...

========================================================================= 49 passed in 0.17s =========================================================================

Originally posted by @Okabe-Junya in #129 (comment)

@Okabe-Junya
Copy link
Contributor Author

I am very sorry.

The issue was due to the fact that I had not updated the development environment, even though requirements.txt had been updated. Running pip install -r requirements.txt again resolved this issue.

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

1 participant