Fix windows tests (CI)
See original GitHub issueOk, not sure how I managed to miss this before. Tests with mocked git don’t work on windows due to mock-git
and its dep mock-bin
:
-
mock-bin
creates an executable script with a shebang, which windows does not support, PR: (https://github.com/stevemao/mock-bin/pull/3) -
mock-git
doesn’t escape slashes, PR: (https://github.com/stevemao/mock-git/pull/3) -
mock-git
has no version range in itsmock-bin
dependency thus not getting the windows fix when it lands, issue: (https://github.com/stevemao/mock-git/issues/5)
Both of these packages will need updates to make the mock tests work. I have created PRs in the respective repos and verified that standard-version tests are fixed with them. This issue is to track the progress of those fixes.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Fix Windows tests and require them to pass on CI - GitLab
Currently, the Windows CI builds pass even if the tests failed (see the || true in test-msys2.sh ). We should fix all the...
Read more >How to Fix Flaky Tests - Semaphore CI
Randomly failing tests are the hardest to debug. Here's a framework you can use to fix them and keep your test suite healthy....
Read more >Skipping 3 windows tests in the CI now that we fixed the install ...
Three tests fail in the Window CI runner now but now actually in windows when running locally in a terminal.
Read more >Troubleshooting Continuous Integration, or How to Debug ...
There is a good reason the tests failed on the CI, and your job as a developer is to identify the cause, and...
Read more >Identify and fix broken builds with CI/CD pipelines | TechTarget
Automated tests can cause intermittent broken builds. To check for this, access reports that offer more information on why the test is failing....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Tapppi this agrees with what I was seeing, moving forward with fixes seems smart to me … I don’t think any of us want to spin up Windows VMs too frequently, having AppVeyor in place to stop regressions will be nice.
@Tapppi I’m pretty comfortable with removing
Node 0.10
from Windows integration tests, if you don’t have time to dig into this further … gets us to a much better place than where we were.