uutils / platform-info

A cross-platform way to get information about your machine
MIT License
85 stars 25 forks source link

docs ~ add example code #31

Closed rivy closed 1 year ago

rivy commented 1 year ago

Adds the example listed in the README.

codecov[bot] commented 1 year ago

Codecov Report

Merging #31 (5322bcc) into main (f311111) will decrease coverage by 1.97%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   75.89%   73.91%   -1.98%     
==========================================
  Files           4        5       +1     
  Lines         336      345       +9     
  Branches       66       66              
==========================================
  Hits          255      255              
- Misses         27       36       +9     
  Partials       54       54              
Flag Coverage Δ
macos_latest 77.96% <0.00%> (-14.04%) :arrow_down:
ubuntu_latest 77.96% <0.00%> (-14.04%) :arrow_down:
windows_latest 72.06% <0.00%> (-2.12%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
examples/ex.rs 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

sylvestre commented 1 year ago

maybe run the example in the code coverage CI too ? (to make sure it still runs)

rivy commented 1 year ago

maybe run the example in the code coverage CI too ? (to make sure it still runs)

Done. cargo check and cargo clippy added to CI for examples. CI running now...