-
Notifications
You must be signed in to change notification settings - Fork 0
Simplify and improve tests with usage of nft-utils 0.0.7 #19
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
045c97d
simplify tests with usage of nft-utils
maxulysse cf3eee9
--verbose --debug
maxulysse 45226b3
add conda to set up
maxulysse e5deb0c
fix path to tests
maxulysse 00a9929
update snapshots
maxulysse 071f062
conda should fail
maxulysse 24c33fb
no need for the same test twice
maxulysse 96a8e53
Merge branch 'main' into nft-utils-0.0.6
maxulysse 46c204f
setup NFT_WORKDIR dynamically
maxulysse 71b47c0
try HOME
maxulysse e0f6d32
Update .github/workflows/validation.yml
maxulysse cbc4de8
update snapshot
maxulysse ada5f73
update snapshot
maxulysse 0e7512f
tests again
maxulysse 2ae44ca
snapshot
maxulysse 81b2f3e
CHANGELOG
maxulysse 0ff788a
Merge branch 'main' into nft-utils-0.0.6
maxulysse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,188 @@ | ||
| { | ||
| "Validate configuration functions": { | ||
| "content": [ | ||
| [ | ||
| "N E X T F L O W ~ version [VERSION]", | ||
| "Launching `[PATH]/config-validation/../config-validation/main.nf` [RUN_NAME] DSL2 - revision: [REVISION]", | ||
| "Pipeline is starting! \ud83d\ude80", | ||
| "==========================================", | ||
| "Configuration Validation Test", | ||
| "==========================================", | ||
| "=== Testing checkConfigProvided() function ===", | ||
| "Configuration check result: false", | ||
| "\u2705 checkConfigProvided() executed successfully", | ||
| "=== Testing checkProfileProvided() function ===", | ||
| "Testing args 1: [[nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, test,[CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 1", | ||
| "Testing args 2: [[nextflow, run, main.nf], [nextflow, run, main.nf, -other-param]]", | ||
| "\u2705 Profile check completed for case 2", | ||
| "Testing args 3: [[nextflow, run, main.nf, -profile], [-profile, [CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 3", | ||
| "=== Testing color formatting feature ===", | ||
| "Testing monochrome output (default)", | ||
| "\u2705 Monochrome mode test completed", | ||
| "Testing color-enabled output", | ||
| "\u2705 Color-enabled mode test completed", | ||
| "Testing color formatting feature with valid profiles only", | ||
| "\u2705 Color formatting tests completed successfully", | ||
| "=== Testing checkCondaChannels() function ===", | ||
| "Conda channels check result: true", | ||
| "\u2705 checkCondaChannels() executed successfully", | ||
| "\u2705 Conda channels are configured correctly", | ||
| "=== Testing integration scenario ===", | ||
| "Simulating fetchngs pipeline initialization sequence...", | ||
| "Conda channels status: OK", | ||
| "Configuration status: May need custom config", | ||
| "Profile validation: Completed for typical fetchngs usage with color setting: monochrome", | ||
| "\u2705 Integration scenario completed successfully", | ||
| "=== Testing edge cases ===", | ||
| "\u2705 Empty arguments handled correctly", | ||
| "==========================================", | ||
| "Configuration Validation Complete", | ||
| "==========================================", | ||
| "Configuration Validation Results", | ||
| "==========================================", | ||
| "\u2705 checkConfigProvided() - Pipeline configuration validation tested", | ||
| "\u2705 checkProfileProvided() - Execution profile validation tested", | ||
| "\u2705 Color formatting - Both monochrome and color modes tested", | ||
| "\u2705 Error messages - Color formatting in error conditions tested", | ||
| "\u2705 checkCondaChannels() - Conda channel validation tested", | ||
| "\u2705 Integration scenario - Typical pipeline initialization flow tested", | ||
| "\u2705 Edge cases - Error handling and boundary conditions tested", | ||
| "Configuration validation functions ready for fetchngs! \ud83d\ude80", | ||
| "==========================================", | ||
| "Pipeline complete! \ud83d\udc4b", | ||
| "WARN: Graphviz is required to render the execution DAG in the given format -- See http://www.graphviz.org for more info." | ||
| ] | ||
| ], | ||
| "meta": { | ||
| "nf-test": "0.9.3", | ||
| "nextflow": "25.10.0" | ||
| }, | ||
| "timestamp": "2025-10-29T09:40:48.846081851" | ||
| }, | ||
| "monochrome_logs params disabled": { | ||
| "content": [ | ||
| [ | ||
| "N E X T F L O W ~ version [VERSION]", | ||
| "Launching `[PATH]/config-validation/../config-validation/main.nf` [RUN_NAME] DSL2 - revision: [REVISION]", | ||
| "Pipeline is starting! \ud83d\ude80", | ||
| "==========================================", | ||
| "Configuration Validation Test", | ||
| "==========================================", | ||
| "=== Testing checkConfigProvided() function ===", | ||
| "Configuration check result: false", | ||
| "\u2705 checkConfigProvided() executed successfully", | ||
| "=== Testing checkProfileProvided() function ===", | ||
| "Testing args 1: [[nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, test,[CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 1", | ||
| "Testing args 2: [[nextflow, run, main.nf], [nextflow, run, main.nf, -other-param]]", | ||
| "\u2705 Profile check completed for case 2", | ||
| "Testing args 3: [[nextflow, run, main.nf, -profile], [-profile, [CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 3", | ||
| "=== Testing color formatting feature ===", | ||
| "Testing monochrome output (default)", | ||
| "\u2705 Monochrome mode test completed", | ||
| "Testing color-enabled output", | ||
| "\u2705 Color-enabled mode test completed", | ||
| "Testing color formatting feature with valid profiles only", | ||
| "\u2705 Color formatting tests completed successfully", | ||
| "=== Testing checkCondaChannels() function ===", | ||
| "Conda channels check result: true", | ||
| "\u2705 checkCondaChannels() executed successfully", | ||
| "\u2705 Conda channels are configured correctly", | ||
| "=== Testing integration scenario ===", | ||
| "Simulating fetchngs pipeline initialization sequence...", | ||
| "Conda channels status: OK", | ||
| "Configuration status: May need custom config", | ||
| "Profile validation: Completed for typical fetchngs usage with color setting: monochrome", | ||
| "\u2705 Integration scenario completed successfully", | ||
| "=== Testing edge cases ===", | ||
| "\u2705 Empty arguments handled correctly", | ||
| "==========================================", | ||
| "Configuration Validation Complete", | ||
| "==========================================", | ||
| "Configuration Validation Results", | ||
| "==========================================", | ||
| "\u2705 checkConfigProvided() - Pipeline configuration validation tested", | ||
| "\u2705 checkProfileProvided() - Execution profile validation tested", | ||
| "\u2705 Color formatting - Both monochrome and color modes tested", | ||
| "\u2705 Error messages - Color formatting in error conditions tested", | ||
| "\u2705 checkCondaChannels() - Conda channel validation tested", | ||
| "\u2705 Integration scenario - Typical pipeline initialization flow tested", | ||
| "\u2705 Edge cases - Error handling and boundary conditions tested", | ||
| "Configuration validation functions ready for fetchngs! \ud83d\ude80", | ||
| "==========================================", | ||
| "Pipeline complete! \ud83d\udc4b", | ||
| "WARN: Graphviz is required to render the execution DAG in the given format -- See http://www.graphviz.org for more info." | ||
| ] | ||
| ], | ||
| "meta": { | ||
| "nf-test": "0.9.3", | ||
| "nextflow": "25.10.0" | ||
| }, | ||
| "timestamp": "2025-10-29T09:40:56.018591664" | ||
| }, | ||
| "monochrome_logs params enabled": { | ||
| "content": [ | ||
| [ | ||
| "N E X T F L O W ~ version [VERSION]", | ||
| "Launching `[PATH]/config-validation/../config-validation/main.nf` [RUN_NAME] DSL2 - revision: [REVISION]", | ||
| "Pipeline is starting! \ud83d\ude80", | ||
| "==========================================", | ||
| "Configuration Validation Test", | ||
| "==========================================", | ||
| "=== Testing checkConfigProvided() function ===", | ||
| "Configuration check result: false", | ||
| "\u2705 checkConfigProvided() executed successfully", | ||
| "=== Testing checkProfileProvided() function ===", | ||
| "Testing args 1: [[nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, [CONTAINER]], [nextflow, run, main.nf, -profile, test,[CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 1", | ||
| "Testing args 2: [[nextflow, run, main.nf], [nextflow, run, main.nf, -other-param]]", | ||
| "\u2705 Profile check completed for case 2", | ||
| "Testing args 3: [[nextflow, run, main.nf, -profile], [-profile, [CONTAINER]]]", | ||
| "\u2705 Profile check completed for case 3", | ||
| "=== Testing color formatting feature ===", | ||
| "Testing monochrome output (default)", | ||
| "\u2705 Monochrome mode test completed", | ||
| "Testing color-enabled output", | ||
| "\u2705 Color-enabled mode test completed", | ||
| "Testing color formatting feature with valid profiles only", | ||
| "\u2705 Color formatting tests completed successfully", | ||
| "=== Testing checkCondaChannels() function ===", | ||
| "Conda channels check result: true", | ||
| "\u2705 checkCondaChannels() executed successfully", | ||
| "\u2705 Conda channels are configured correctly", | ||
| "=== Testing integration scenario ===", | ||
| "Simulating fetchngs pipeline initialization sequence...", | ||
| "Conda channels status: OK", | ||
| "Configuration status: May need custom config", | ||
| "Profile validation: Completed for typical fetchngs usage with color setting: true", | ||
| "\u2705 Integration scenario completed successfully", | ||
| "=== Testing edge cases ===", | ||
| "\u2705 Empty arguments handled correctly", | ||
| "==========================================", | ||
| "Configuration Validation Complete", | ||
| "==========================================", | ||
| "Configuration Validation Results", | ||
| "==========================================", | ||
| "\u2705 checkConfigProvided() - Pipeline configuration validation tested", | ||
| "\u2705 checkProfileProvided() - Execution profile validation tested", | ||
| "\u2705 Color formatting - Both monochrome and color modes tested", | ||
| "\u2705 Error messages - Color formatting in error conditions tested", | ||
| "\u2705 checkCondaChannels() - Conda channel validation tested", | ||
| "\u2705 Integration scenario - Typical pipeline initialization flow tested", | ||
| "\u2705 Edge cases - Error handling and boundary conditions tested", | ||
| "Configuration validation functions ready for fetchngs! \ud83d\ude80", | ||
| "==========================================", | ||
| "Pipeline complete! \ud83d\udc4b", | ||
| "WARN: Graphviz is required to render the execution DAG in the given format -- See http://www.graphviz.org for more info." | ||
| ] | ||
| ], | ||
| "meta": { | ||
| "nf-test": "0.9.3", | ||
| "nextflow": "25.10.0" | ||
| }, | ||
| "timestamp": "2025-10-29T09:40:52.50112494" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.