[WIP] Solve cross-platform import problem on MacOS build#910
[WIP] Solve cross-platform import problem on MacOS build#910stuartpreston wants to merge 10 commits intodataplat:mainfrom
Conversation
Signed-off-by: Stuart Preston <mail@stuartpreston.net>
SQLDBAWithABeard
left a comment
There was a problem hiding this comment.
This was my first thought also but unfortunately, we must have postimport.ps1 run for the module to work at all, as it sets all the defaults and the configurations
|
|
|
You are right and I can't read :-) |
|
Yes I have to fix some paths on those other functions |
|
@stuartpreston I have updated a few other files as well |
|
and I have added the PR workflow so that it will run the tests too :-) |
|
Convert-Path shouldn't be required to support PowerShell on Mac or Linux. |
Fixes #909
This change might solve the problem with the MacOS build.
Note: Unfortunately I encountered further errors in the build on my local machine to do with the New-Json function either not correctly establishing the path to the test repo I'm likely missing a dependency since Get-CheckRepo isn't available on my machine so submitting this PR first to see if it gets us any further.