-
Notifications
You must be signed in to change notification settings - Fork 192
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
Clean up top level directory of repository #3738
Conversation
4ea1135
to
73e7832
Compare
31339d9
to
1580ce1
Compare
Codecov Report
@@ Coverage Diff @@
## develop #3738 +/- ##
===========================================
- Coverage 78.01% 78.00% -0.01%
===========================================
Files 457 457
Lines 33830 33830
===========================================
- Hits 26391 26390 -1
- Misses 7439 7440 +1
Continue to review full report at Codecov.
|
@sphuber despite the current issues with CI, I believe the tests actually pass (see 2nd-to-last commit) and the coverage should not be decreasing. |
The tests are failing because it is still trying to install the
You should remove the |
950df60
to
091c4b0
Compare
Ah... ;-) Thanks, fixed!
I checked it on my side and it worked. Please check as well. |
091c4b0
to
6bbeeff
Compare
@ltalirz I also verified that the new |
Indeed, this is what I introduced here because the tests suddenly started failing. Very strange... how is it possible that the tests did pass for you while they did not for me? Anyhow, I will re-introduce the changes here. |
Just to follow up on this, here are links to recent github actions runs: Looking at the python environment, the only differences are:
I don't think those have anything to do with it (also, if the reason for this would be updates of python dependencies, it would be unclear why the pre-commit hooks worked, then broke, then worked again, then broke again). |
The tests are failing for SqlAlchemy. They seem to be hanging at |
I can reproduce the issue locally using
Actually, the tests in
For me it's hanging at
|
It actually hangs here:
Is it a problem if a user is already stored in the DB at this point? Perhaps @giovannipizzi could also comment P.S. Fast way to reproduce:
|
I might be fixing this in #3650 [EDIT: for reference, the problem that I am fixing is that the downward migration test was not resetting the migration to the most recent one, and the next one to run, if any, would fail; however it would not hang for me. I suggest to merge #3650 first and see if this solves the issue already] |
Yeah, I introduced this fixture because it was necessary. There are two options for this PR - either we fix the underlying issue or we keep the "pytest tests" separate from the rest (it's not strictly about cleaning up the top-level of the directory). Note, however, that we will likely run into this issue again soon, namely when people start to use pytest fixtures in the test suite more actively. |
I am just playing around with this now and it indeed seems a problem in the two different ways be currently setup and clean the database. By adding the fixture, we ensure that a user instance is created for the |
Fine with me - can you take care of it? |
6a9c382
to
91be0c6
Compare
done |
Looks good to me - you'll need to approve yourself ;-) |
* Include `bin/runaiida` through `console_scripts` of `setup.json` * Remove the outdated examples from `examples` directory * Remove obsolete `utils/plugin_tpl/calculation.tpl` superseded by plugin cookie cutter package * Move `conftest` to the `tests` directory
91be0c6
to
1c369a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wij van WC-eend adviseren WC-eend 👍
fix #3730