Skip to content

New CI does not rebase roottest branch on top of roottest master #14024

Open
@pcanal

Description

@pcanal

Check duplicate issues.

  • Checked for duplicates

Description

The new CI does not rebase roottest branch on top of roottest master. However it does rebase the code branch on top of the roottest master. In practice this means that if the latest development in the ROOT code requires a change in roottest (and it has already been merged into the main branch) then the PR will spuriously fail.

For example in https://github.com/root-project/root/actions/runs/6751316012/job/18355186874?pr=13900

We have:

  git fetch origin refs/pull/13900/head:master-13574
  git checkout master-13574
  git rebase master
  
  From https://github.com/root-project/root

but we have as part of the cmake invocation

  -- Found roottest: /github/home/ROOT-CI/src/roottest
  -- Updating roottest from 'https://github.com/pcanal/roottest' (master-13574)
  From https://github.com/pcanal/roottest
   * [new branch]        master-13574 -> master-13574
  Switched to branch 'master-13574'

A possible solution is to treat the roottest repository the same way as the ROOT repository and check it out and rebase outside of cmake.

Reproducer

See description

ROOT version

does not matter.

Installation method

New CI

Operating system

any

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions