Skip to content

Move gather registries#1

Closed
ErikDanielsson wants to merge 74 commits intorefactor-download-testsfrom
move-gather-registries
Closed

Move gather registries#1
ErikDanielsson wants to merge 74 commits intorefactor-download-testsfrom
move-gather-registries

Conversation

@ErikDanielsson
Copy link
Owner

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

edmundmiller and others added 22 commits July 24, 2025 09:46
Did my best, and wanted to keep the code verbatim before things really start shifting.
… version handling

- Introduced separate test files for module changes, deprecations, todos, and version functionalities.
- Implemented basic structure and placeholder tests for each new test file to ensure future functionality can be added.
- Removed the old test_lint.py file to streamline the test organization.
…ssed tests

- Updated the assertion to verify the presence of "test_snap_md5sum" in the passed tests.
- Improved handling to accommodate both LintResult objects and tuple formats for better robustness.
BREAKING CHANGE: The `arm` profile has been renamed to `arm64` and now provides native ARM64 support using Wave containers instead of x86 emulation.

- Replace `arm` profile with `arm64` profile for native ARM64 execution
- Add `emulate_amd64` profile for users who need x86 emulation on ARM hardware
- The `arm64` profile works universally on Apple Silicon, AWS Graviton, and other ARM64 platforms
- Users must update: `-profile arm` → `-profile arm64` (for native) or `-profile emulate_amd64` (for emulation)

Fixes nf-core#3536

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace skeleton tests with actual implementations for module_changes, module_deprecations, module_version, and module_todos
- Remove duplicate MockModuleLint class definitions and consolidate imports to test_lint_utils
- Rename TestMainNf to TestMainNfLinting with improved documentation
- Add comprehensive test coverage for lint functionality including edge cases and error conditions
- Add CLAUDE.md to .gitignore

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Instead of raising a UserWarning when a cached JSON config file is corrupted,
now logs a warning and attempts to delete the corrupted cache file, allowing
the config to be regenerated. This prevents test failures in CI when cache
files become corrupted.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ErikDanielsson ErikDanielsson changed the base branch from download-refactor-again to refactor-download-tests August 14, 2025 10:10
mirpedrol and others added 29 commits August 25, 2025 11:05
ignore files in gitignore also for pipeline_if_empty_null lint test
Add GHA to update template nf-test snapshots
- Replace assertions in setUp methods with skipTest() for proper error handling
- Remove unnecessary setUp methods where only one test needs module installation
- Eliminate manual test cleanup code relying on test framework isolation
- Consolidate module installation in setUp where all tests in class need it
- Update registry test to properly expect failures with mismatched registries

Addresses code review feedback on test best practices and structure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…-again

Refactor pipeline downloads command to use `nextflow inspect` for container detection
…/nf-core-tools into issues/3732-upd-download-wf
…nload-wf

fix: Remove dependency on dev branch of tools
…ripts

Add container load scripts for Docker and Podman (nf-core#3634 follow up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants