Closed mikelik closed 1 year ago
While working another PR, I noticed quite a few path issues in the tests. Enough that I felt it was out of scope to include the changes. So I added them in this branch. For the most part, it's changing "str1" + "/str2"
to os.path.join("str1","str2")
.
After extensive research I found it will be not possible to create dunes
docker image on windows VM in github.
Issue explained: https://github.com/orgs/community/discussions/25491?sort=new#discussioncomment-3248089
I am thinking that maybe Linux could create and push Docker image and later Windows VM could run tests against it - I will verify if this is possible.
Unfortunately it is also not possible to run Linux containers on Windows VM in github because of the same reasons. Error is:
08f2f58: Pulling from antelopeio/dunes
image operating system "linux" cannot be used on this platform: operating system is not supported
Issue described in: https://github.com/actions/runner-images/issues/1143
In this issue I will update Windows tests so they are passing, but there will be no Windows CI 😢
If I run
pytest tests
on Windows I get 5 failing test cases:runs-on: [ubuntu-latest, windows-latest]
Tested on
main
. At least this commit has to be merged to main: https://github.com/AntelopeIO/DUNE/pull/185/commits/dcf2dd1db71a0123208a2ae55904ae78974795a4 to start at least some tests to pass.