-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(raredisease): Add raredisease to cg workflow #2592
Conversation
@peterpru It would be great if you keep the scope small say one PR per command. |
Consulted with Vincent; recommendation is to ignore the SonarCloud duplication % for this PR. This is a short script used in version control, and outside the active "cg production code". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks good! For tests, it would be good to deploy to hasta and cg-vm1 and make sure that the new option shows up in the web interface. Also make sure that deployment of e.g. master executes the downgrade as you want it to.
alembic/versions/dbe513da5cb9_add_raredisease_to_analysis_options.py
Outdated
Show resolved
Hide resolved
alembic/versions/dbe513da5cb9_add_raredisease_to_analysis_options.py
Outdated
Show resolved
Hide resolved
alembic/versions/dbe513da5cb9_add_raredisease_to_analysis_options.py
Outdated
Show resolved
Hide resolved
alembic/versions/dbe513da5cb9_add_raredisease_to_analysis_options.py
Outdated
Show resolved
Hide resolved
Just to be clear - I think this will probably work, but you can probably clean up the alembic script a little bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!! 🌟 🌟 so exciting seeing this happening! I think it's important to avoid having duplicated code, so I added a suggestion to merge all similar NF tests. See below
alembic/versions/dbe513da5cb9_add_raredisease_to_analysis_options.py
Outdated
Show resolved
Hide resolved
tests/cli/workflow/raredisease/test_cli_raredisease_compound_commands.py
Show resolved
Hide resolved
…ons.py Co-authored-by: Vincent Janvid <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 you can link the issue/pr to refactor the tests if you have already created it
Here is the created issue for the refactoring: #2643 |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Edit: had green light in actions, looked okay in terminal and deploying to cg-vm1 using Actions, and testing on stage after, after merging the error above popped up. Reverting the merge in #2646 |
Description
This PR adds the cli option
raredisease
tocg workflow
, without added options.Added
cg workflow raredisease
Changed
Fixed
How to prepare for test
us
paxa
How to test
Expected test outcome
Check that installing on stage shows that the alembic revision is installed correctly.
cg workflow shows the new option:
When completing the tests, pull master and show that the alembic downgrade completed successfully.
Take a screenshot and attach or copy/paste the output.
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan