jborean93 / PowerShell-Yayaml

A YAML parser and writer that uses an Assembly Load Context on PowerShell 7+
MIT License
30 stars 2 forks source link

Add support for Windows PowerShell #13

Closed jborean93 closed 9 months ago

jborean93 commented 10 months ago

Adds limited support for Windows PowerShell. This loads the module in the normal app domain so has no support for an ALC to load the YAML dependencies. While not ideal it gives users a migration route in case they are stuck on 5.1 for now.

Support for WinPS is limited, no extra work is in place to resolve any assembly conflicts and I don't plan on doing so any time soon.

Fixes: https://github.com/jborean93/PowerShell-Yayaml/issues/2

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (2d8d0fe) 93.03% compared to head (d99e88f) 93.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== + Coverage 93.03% 93.06% +0.03% ========================================== Files 15 15 Lines 1048 1413 +365 Branches 181 181 ========================================== + Hits 975 1315 +340 - Misses 47 70 +23 - Partials 26 28 +2 ``` | [Flag](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | Coverage Δ | | |---|---|---| | [PS_7.2_x64_Linux](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | `93.06% <100.00%> (+0.03%)` | :arrow_up: | | [PS_7.2_x64_Windows](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | `?` | | | [PS_7.3_x64_Linux](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | `?` | | | [PS_7.3_x64_Windows](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | `?` | | | [PS_7.4_x64_Linux](https://app.codecov.io/gh/jborean93/PowerShell-Yayaml/pull/13/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean) | `93.06% <100.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jordan+Borean#carryforward-flags-in-the-pull-request-comment) to find out more.

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