-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests do not seem to run in Windows in GitHub Actions #257
Comments
Hi guys!! I think the problems are the tests itself. Sadly I don't have a windows pc, you cannot even run windows containers in docker without a windows host... |
Hi @phoebe-p did you had a chance to look at it? Because I found a windows PC and I was able to run the test locally (without pdd) with no problem... |
Yes, I had the same experience but forgot to report back here… I have tried a few different things, like calling pytest directly, but in that case it does not seem to find the built version of Solcore and complains the PDD is not installed. I’m not sure what else to try… |
Could it be the -n "auto" the xdist package that distribute the tests? |
Any news? 🤔 |
thanks for reminding me @Abelarm , I just tried and it seems this work for the tests (see the latest GitHub Actions runs - one of the Windows tests failed randomly because of a worker crashing, but that just seems to happen sometimes...)! For test_examples, I also removed the |
always happy to help! I think windows does not like notebooks or whatever. |
I will just remove the section for running the examples in Windows, since leaving it there when it does nothing will be confusing in the future. Thanks for the help again! |
Recent changes to the behaviour of pip and rtools meant that all regularly scheduled tests were failing (see e.g. here). To summarize:
All the tests are now seemingly passing, however, it does not seem like the tests on Windows are actually running; everything seems fine, but no tests run and no coverage report is generated (see here). I am not sure how to fix this because I am not sure which package is causing it (devpy? pytest?).
@dalonsoa @Abelarm do you have any thoughts on what might be causing this?
The text was updated successfully, but these errors were encountered: