todogroup / repolinter

Repolinter, The Open Source Repository Linter
https://todogroup.github.io/repolinter/
Apache License 2.0
421 stars 72 forks source link

Flaky Windows test: clone remote git repository is too slow #292

Open Brend-Smits opened 1 year ago

Brend-Smits commented 1 year ago

Issue Report

Oftentimes, testing on a windows machine will fail because the test runs repolinter on a remote git repository is too slow. This test checks out the todogroup/repolinter repository fully and checks with default ruleset.

Proposed solution

Create a dummy-test repository that is used for these kinds of tests. As an example I created https://github.com/Brend-Smits/repolinter-tests

zhaoyuheng200 commented 1 year ago

Windows tests never works for me :(

hyandell commented 1 year ago

+1 to having a dedicated test repo.