Hi Miro,

you can use the "version" parameter to choose the desired branch:
https://docs.fedoraproject.org/en-US/ci/share-test-code/#_implementation

psss...

On Mon, 20 Apr 2020 at 12:41, Miro Hrončok <mhroncok@redhat.com> wrote:
Hello CI folks!

Suppose I have this in my tests.yml:


     repositories:
     - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
       dest: "pyproject-rpm-macros"

This is currently always cloned on the default branch (master).
How do I clone it on a different branch or switch to it? In particular, I need
it to be the same branch we are on -- aka if the tests runs on a f32 Pull
Request, the branch should be f32.

We currently keep rpms/pyproject-rpm-macros identical across braches, but if we
ever stop doing that, I need the approprioate tests to be executed, not rawhide
tests.

Thanks,
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
CI mailing list -- ci@lists.fedoraproject.org
To unsubscribe send an email to ci-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org