Ensure example git repos are valid (#1821)

* Ensure example git repos are valid

It was reported in #1817 that the `lotr_migration.git` repository we use
in `test/test_migrate.rb` is not a valid git repository on when clone,
causing the test suite to fail when run locally.

The reason is because there is no `.git/refs` directory, meaning it's
not really a valid git repository at all. I noticed that the `empty.git`
example repository has the same problem.

This commit simply ensures that the directory structure of these example
repositories are persisted in git.

* Run `test_migrate` tests on CI

Now that we've resolved the issue with the invalid git repository in the
parent commit, we can run all of the tests in our CI environment.
This commit is contained in:
benjamin wil
2022-04-30 23:03:56 -07:00
committed by GitHub
parent 95d35d38da
commit 2dfe103687
3 changed files with 47 additions and 49 deletions