tpaviot / ProcessScheduler

A Python package for automatic and optimized resource scheduling
https://processscheduler.github.io/
GNU General Public License v3.0
59 stars 18 forks source link

Optional tasks #1

Closed tpaviot closed 3 years ago

tpaviot commented 3 years ago

This PR adds support for optional tasks.

codecov-io commented 3 years ago

Codecov Report

Merging #1 (c28bd5d) into master (88e1382) will decrease coverage by 0.83%. The diff coverage is 90.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   96.22%   95.38%   -0.84%     
==========================================
  Files          14       15       +1     
  Lines        1298     1582     +284     
==========================================
+ Hits         1249     1509     +260     
- Misses         49       73      +24     
Impacted Files Coverage Δ
test/test_features.py 99.59% <ø> (-0.02%) :arrow_down:
processscheduler/task_constraint.py 89.71% <85.45%> (+0.83%) :arrow_up:
test/test_optional_task.py 91.41% <91.41%> (ø)
processscheduler/task.py 98.91% <95.00%> (+0.11%) :arrow_up:
processscheduler/solution.py 87.50% <100.00%> (+0.21%) :arrow_up:
processscheduler/solver.py 97.77% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 88e1382...c28bd5d. Read the comment docs.

lgtm-com[bot] commented 3 years ago

This pull request introduces 1 alert when merging c28bd5d6b4f1b2bf4a2de12c9a90ae7a167f0acc into 88e138259faeeb6457ede500d4cf58e5c9a26694 - view on LGTM.com

new alerts: