PR #635 investigated an issue in which tests suddenly became very slow (fixed in #641). However, it also highlighted some changes that can generally speed up the tests and help troubleshooting:
- add
durations argument to pytest in the workflows to print how long each test takes
- focus on the TUI tests, which are by far the slowest
- removing codecov actually decreases test speed by like 5 minutes, but it is almost certainly not worth removing this.
- connection tests are also slow
PR #635 investigated an issue in which tests suddenly became very slow (fixed in #641). However, it also highlighted some changes that can generally speed up the tests and help troubleshooting:
durationsargument to pytest in the workflows to print how long each test takes