Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### Modules

- TEMPLATE: fix nf-test scope to ignore nf-core module/swf tests ([#3609](https://github.com/nf-core/tools/pull/3609))

### Subworkflows

### General
Expand Down
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/nf-test.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ config {
configFile "tests/nextflow.config"

// ignore tests coming from the nf-core/modules repo
ignore 'modules/nf-core/**/*', 'subworkflows/nf-core/**/*'
ignore 'modules/nf-core/**/tests/*', 'subworkflows/nf-core/**/tests/*'

// run all test with defined profile(s) from the main nextflow.config
profile "test"
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ requires = ["setuptools>=40.6.0", "wheel"]
markers = ["datafiles: load datafiles"]
testpaths = ["tests"]
python_files = ["test_*.py"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
norecursedirs = [
".*",
"build",
Expand Down
6 changes: 3 additions & 3 deletions tests/pipelines/test_create_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ async def test_app_bindings():
app = PipelineCreateApp()
async with app.run_test() as pilot:
# Test pressing the D key
assert app.dark
assert app.theme == "textual-dark"
await pilot.press("d")
assert not app.dark
assert app.theme == "textual-light"
await pilot.press("d")
assert app.dark
assert app.theme == "textual-dark"

# Test pressing the Q key
await pilot.press("q")
Expand Down
Loading