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

Documentation: how to run tests locally #90

Open
paskino opened this issue Oct 13, 2023 · 3 comments
Open

Documentation: how to run tests locally #90

paskino opened this issue Oct 13, 2023 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@paskino
Copy link
Collaborator

paskino commented Oct 13, 2023

I had to install pytest-cov and pytest-timeout to be able to run pytest on this repository.

Can this be documented. It is unclear how tests are running with CI on GHA.

Also, 2 tests are failing on my machine with master now.

@DanicaSTFC
Copy link
Collaborator

I was able to run all tests in one go but failed to run one test at a time.

Instructions to run one test at a time would be helpful too.

@DanicaSTFC DanicaSTFC added the documentation Improvements or additions to documentation label Oct 31, 2023
@lauramurgatroyd
Copy link
Member

lauramurgatroyd commented Nov 20, 2023

@paskino did you follow the instructions here https://github.com/TomographicImaging/eqt/blob/main/CONTRIBUTING.md to do pip install .[dev]? I did that and had no problem running pytest (other than the tests failing but that's a separate problem!)

@DanicaSTFC
Copy link
Collaborator

Tests are no longer failing.

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

No branches or pull requests

4 participants