This PR reorganises the way tests are run in CI to checkout the correct git branch as early as possible, before dependencies are parsed and installed.
This way if a PR introduces new dependencies, they will be installed in CI and not cause a failure.
This PR reorganises the way tests are run in CI to checkout the correct git branch as early as possible, before dependencies are parsed and installed.
This way if a PR introduces new dependencies, they will be installed in CI and not cause a failure.