-
Notifications
You must be signed in to change notification settings - Fork 118
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
Windows CI: Avoid downgrading mingw in CI #2596
Conversation
pramodk
commented
Oct 29, 2023
- This reverts commit ff55f81 (Windows CI : downgrade mingw to previously working version (v11.2.0) #2546)
- See Windows CIs failing (again) #2585 : check if newer image has solved issues seen in Windows CIs failing (again) #2585
✔️ e335287 -> Azure artifacts URL |
✔️ 8183b09 -> Azure artifacts URL |
✔️ d665dfe -> Azure artifacts URL |
@ramcdougal / @adamjhn : Until #2585 is resolved, could you help us to disable running rxd tests? I did following change in this PR: - C:\Python311\python -c "import neuron; neuron.test(); neuron.test_rxd(); quit()" || set "errorfound=y"
+ C:\Python38\python -c "import neuron; neuron.test(); quit()" || set "errorfound=y" but seems like still the tests under We have an issue on Azure runner while running rxd tests. So instead of disabling rxd on Windows (as part of the build), I would like to just disable running rxd tests. This way, the installer still has rxd enabled. |
Codecov Report
@@ Coverage Diff @@
## master #2596 +/- ##
=======================================
Coverage 66.07% 66.08%
=======================================
Files 559 559
Lines 108909 108912 +3
=======================================
+ Hits 71962 71973 +11
+ Misses 36947 36939 -8 see 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This comment has been minimized.
This comment has been minimized.
I'm generally opposed to disabling tests to get CI to pass. Many of the commits over the last few weeks have been rxd-related, so it's not like this is an area where things aren't changing. |
Completely agree! I am also not comfortable with just disabling those tests! Bit of extra info:
|
Broadly the pytest code to be run is defined in https://github.com/neuronsimulator/nrn/blob/master/test/CMakeLists.txt I'm not sure how you'd only disable it for Windows though. The other thing that should be fixed: it looks like if rx3d is not enabled then no rxd tests run. 3D being disabled (which I still think is an option that should be removed) should only disable 3d tests, not all rxd tests. In fact, being sure that rxd works without 3d enabled is important. |
Kudos, SonarCloud Quality Gate passed! |
✔️ 5f839e4 -> Azure artifacts URL |
@ramcdougal : as you might remember, the tests configured in CMake are not executed on Windows. (Due to MingW vs Windows environment differences) As you can see in the diff of this PR, we are removing call to In the Test Installer section of Windows setup, you can see what else is currently tested. I guess this we have to do until find out a way to reproduce/debug & fix the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's good that things work again with the "latest" mingw.
@ramcdougal What is your opinion about restoring rxd tests in a subsequent pull request?
Backport of workaround for #2596