Skip to content
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

Migrate all modules to nf-test (batch 1) #7529

Open
LouisLeNezet opened this issue Feb 28, 2025 · 0 comments
Open

Migrate all modules to nf-test (batch 1) #7529

LouisLeNezet opened this issue Feb 28, 2025 · 0 comments

Comments

@LouisLeNezet
Copy link
Contributor

LouisLeNezet commented Feb 28, 2025

nf-test migration

(This is the first batch, batch 2 is here)

Some documentation available for this project:

Workflow

  1. Create a conda environment.yml file with nf-core, nextflow, nf-test, prettier and pre-commit and activate it.
  2. Run pre-commit install
  3. Fork https://github.com/nf-core/modules
  4. Clone the fork locally git clone [email protected]:githubusername/modules.git
  5. Select the module you want to work on and assign yourself to the sub-issue below.
  6. Update your local branch to match the nf-core repository git checkout main and git pull upstream main
  7. Work on a branch git checkout -b <modules_name>_nftest
  8. Run nf-core modules create <tool>/<subtool> --migrate-pytest
  9. Check the migration and modify it accordingly
  10. Run nf-core modules test <tool>/<subtool>
  11. Lint the code nf-core modules lint <tool>/<subtool>
  12. Commit the changes git add . and git commit -m "<commit_message>"
  13. Push to your github repository git push origin <modules_name>_nftest
  14. Open a Pull-Request and link it to the sub-issue
  15. Check that github action run correctly
  16. Fix if necessary
  17. Ask for review and add the nf-test tag to the PR
  18. Rinse and repeat 5 - 17
@LouisLeNezet LouisLeNezet changed the title Migrate all modules to nf-test Migrate all modules to nf-test (batch 1) Feb 28, 2025
@famosab famosab pinned this issue Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Status: Todo
Development

No branches or pull requests

1 participant