-
Notifications
You must be signed in to change notification settings - Fork 163
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
Appveyor CI is failing #1009
Comments
May be due to AppVeyor's recent Windows image update: https://www.appveyor.com/updates/ |
@reposense/devs Please help with this issue and try to get it solved quickly. |
With the update, using |
I actually think that these two test cases are no longer relevant and can be removed. Reason: in windows, repos and branches that are to be analyzed would have been checked for illegal filenames via gitlstree (from the bare clone) before they are checked out from the bare repo to the actual ones |
Investigating further, the test cases worked on Git 2.23 (my previous setup before updating) but not on 2.25. Current version is 2.25 and that's the version that the AppVeyor is now on with the latest update |
As updated from Git v2.24, Git for windows would print error for illegal file name and prevent it from adding into index. As in our test cases we run the command The doc for Since even the git command will fail on windows, maybe we should remove the 2 tests, or we test if the correct exception is to be thrown |
Let's remove the two outdated tests. Well done in the prompt investigation and thank you for the effort 👍. |
AppVeyor CI is failing in all PRs as it has updated its worker image, which uses Git 2.25 instead of Git 2.23. From Git v2.24, Git for windows would print error for an illegal file name and prevent it from adding into the index. As in our test cases we run the command `git checkout someInvalidName`, an exception is expected to be thrown, and since we do not catch it, the tests fail. Let's remove the 2 outdated test as the git command now handles detection of invalid filename and will throw exception at the very beginning.
Appveyor CI is current failing in all PRs with the following lines:
Link to one of the Appveyor build for PR #1005: https://ci.appveyor.com/project/eugenepeh/reposense/builds/30213033
The text was updated successfully, but these errors were encountered: