Closed superstar54 closed 1 month ago
Attention: Patch coverage is 98.36066%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 75.96%. Comparing base (
5937b88
) to head (6423864
). Report is 7 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
aiida_workgraph/workgraph.py | 93.33% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In the previous unit test, one needed to sleep for a time manually to wait for a task state. The sleep time needs to be chosen carefully to make sure the state is reached. This PR allows the WorkGraph to wait for the particular states of a task.
This speeds up the test and makes the test more robust.
To speed up the test, I also
calcjob
task with thecalcfunction
task.Skip unstable test
I skipped the test for playing the paused task; it seems the daemon is not responding to the play signal. This should be a problem of AiiDA test fixtures.
Time for the pytest
TODO: find why Python 3.12 is slow.