PyPSA / linopy

Linear optimization with N-D labeled arrays in Python
https://linopy.readthedocs.io
MIT License
165 stars 51 forks source link

ci: disable pytest multiprocessing #334

Closed lkstrp closed 4 months ago

lkstrp commented 4 months ago

Follow up on your request in #333 @FabianHofmann

print can't handle multiprocessing, so it won't work. And logs can only be shown for all tests or none. So it's either pytest in parallel or the log. I think we can revert multiprocessing, it doesn't take much time anyway (both around 30 sec).

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.00%. Comparing base (4735725) to head (62916c3). Report is 5 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #334 +/- ## ======================================= Coverage 86.00% 86.00% ======================================= Files 17 17 Lines 4209 4209 Branches 989 989 ======================================= Hits 3620 3620 Misses 430 430 Partials 159 159 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

FabianHofmann commented 4 months ago

awesome @lkstrp !