Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Show git hashes of tested anemoi packages in ci summary #56

@VeraChristina

Description

@VeraChristina

Is your feature request related to a problem? Please describe.

It is currently not visible on first sight which versions of the anemoi packages were tested together in a ci run. The information can be retrieved from the suite logs but it would be good to make this more visible, in particular if we plan to test for possible combinations of anemoi versions in the future. (The current ci suite is designed to test all main branches together in the nightly tests; and there is a workflow dispatch option to test different combinations of branches.)

Describe the solution you'd like

  • In the prepare step in the github workflow, fetch the latest commits from all relevant branches.
  • Print the commits to the summary page as well as the branch names.
  • Pass the commits to be used as options to the suite, (i.e. also add these as changeable options to the wellies config).

The advantage of this approach is that, in addition to visibility, there is less delay between the workflow start and determining which commits to run on (which makes it less likely that we accidentally run on later commits -- probably only relevant for the workflow dispatch option).

Describe alternatives you've considered

Print the git hashes associated with the packages installed in the suite to a file and fetch this in the github summary step. (This is within a part of the suite handled by wellies, so it's probably more complicated than above option.)

Additional context

No response

Organisation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To be triaged

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions