reanahub / reana

REANA: Reusable research data analysis platform
https://docs.reana.io
MIT License
123 stars 54 forks source link

feat(reana_dev): create new branch if does not exist in git-checkout (#813) #813

Closed jlemesh closed 1 month ago

jlemesh commented 1 month ago

In git-checkout command, if the branch does not exist, create the branch instead of throwing an error.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 18.15%. Comparing base (8762855) to head (bb666f0).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/reanahub/reana/pull/813/graphs/tree.svg?width=650&height=150&src=pr&token=NmV0ZCmqfN&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub)](https://app.codecov.io/gh/reanahub/reana/pull/813?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) ```diff @@ Coverage Diff @@ ## master #813 +/- ## ========================================== - Coverage 18.15% 18.15% -0.01% ========================================== Files 26 26 Lines 2478 2479 +1 ========================================== Hits 450 450 - Misses 2028 2029 +1 ``` | [Files](https://app.codecov.io/gh/reanahub/reana/pull/813?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) | Coverage Δ | | |---|---|---| | [reana/reana\_dev/git.py](https://app.codecov.io/gh/reanahub/reana/pull/813?src=pr&el=tree&filepath=reana%2Freana_dev%2Fgit.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub#diff-cmVhbmEvcmVhbmFfZGV2L2dpdC5weQ==) | `25.30% <0.00%> (-0.05%)` | :arrow_down: |