-
-
Notifications
You must be signed in to change notification settings - Fork 82
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 failing locally #598
Comments
@wenkokke was having this issue too. Do you remember if we got to the bottom of it? |
We never managed to fix it, I simply ignored it and you didn't have this issue locally. |
Right ok that was my recollection but was hoping my recollection was wrong 😅 I believe this one has to do with VSCode space insertion. When you define a snippet in VSCode, it reinterprets tab characters in the snippet body as spaces according to your configuration for the given file / language. So I believe it has something to do with your indentation settings. We somehow need to get VSCode to ignore your custom indentation settings I believe |
Hrm, got it. I'll think about this a bit. I wonder if it would make sense to give local developers the ability to run tests akin to the GH actions, in a local container. |
oh that's a cool idea. I wonder if that would fix the insiders' thing too |
This looks pretty cool, although new, and might obviate the need for a separate and possibly diverging config. https://github.com/nektos/act |
Funny I just ran across that today for the first time Interesting idea, and might simplify things, tho seems a bit heavy handed, as I believe it installs VSCode in the container every time. But prob not a showstopper; might not be too slow and could potentially be cached Also wonder how it handles matrix, as our CI uses a matrix to run tests on 3 platforms |
That probably means that it would download three separate images, and run the test three times… not a huge problem overall I suppose, but it might be nice to be able to limit it to a single platform only. |
So presumably it will only run Linux? Either that or try to run Mac and Windows and fail? 😅 |
Let me try and just run it with a docker. I'll look at checkout@v2 and the yarn action and replicate the set up steps. |
Is this one still an issue? |
Yes, it is still an issue, even after On main:
Failing tests:
|
Ok let's see if #672 helps once it's merged. I don't think it will help the wrap tests, but should help some local failures |
Green run for the first time locally! |
While working on #597 I had erroneously reported failing tests locally. The suite passed on the PR build action but locally I am having failing tests. I also checked on the main branch and also have similar failures. The test run hasn't finished yet so I'm not sure if they are deterministically failing but I'll update the issue with more information. Here's an example locally failing test from the PR:
Also, noted in Slack. I currently have to quit VSCode to run the suite. Probably a separate issue but worth noting.
The text was updated successfully, but these errors were encountered: