jezzsantos / automate

Templatize patterns from your own codebase, make them programmable, then share them with your team. https://jezzsantos.github.io/automate/
https://www.nuget.org/packages/automate
MIT License
7 stars 0 forks source link

Integration Testing on GitHub Actions fails #51

Closed jezzsantos closed 2 years ago

jezzsantos commented 2 years ago

Integration testing fails because JsonFileRepository fails to access the Environment.SpecialFolder.Desktop folder in method GetExportedToolkitDirectory during testing in CI. This is accessing the desktop folder on the build server (ubuntu) during CI testing.

For some reason this value is returning an empty string, and the test fails to initiate.

We need a way to signal that we are running on CI< and use a different folder for that purpose.

jezzsantos commented 2 years ago

Unable to resolve using the built-in linux-latest in the github action, as we are having issues writing test outputs on linux.

Resolved by moving back onto a windows_latest image