samdoran / ansible-collection-macos

Ansible collection of roles and modules for use on macOS
8 stars 2 forks source link

🐛 Detect if running parallels in the module #17

Closed webknjaz closed 1 year ago

webknjaz commented 1 year ago

This fixes the return value of the module when started state is requested. It also skips invoking the app if it's already running.

codecov[bot] commented 1 year ago

Codecov Report

Merging #17 (981f355) into main (96e142f) will decrease coverage by 0.57%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   36.24%   35.67%   -0.57%     
==========================================
  Files           5        5              
  Lines         378      384       +6     
  Branches       44       44              
==========================================
  Hits          137      137              
- Misses        241      247       +6     
Flag Coverage Δ
sanity 32.52% <ø> (-0.54%) :arrow_down:
units 82.97% <ø> (ø)

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

Impacted Files Coverage Δ
...amdoran/macos/plugins/modules/parallels_desktop.py 28.93% <0.00%> (-0.91%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more