Skip to content

Commit

Permalink
Merge pull request #179 from Daniel-VM/fix_linting_test_name
Browse files Browse the repository at this point in the history
fixed matrix.test_name in linting and missing features from template 3.0.2
  • Loading branch information
Daniel-VM authored Nov 5, 2024
2 parents efe6309 + aa42f95 commit 02bf3dd
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 35 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
- "singularity"
test_name:
- "test"
- "test_long"
- "test_long_miniasm"
- "test_hybrid"
- "test_dfast"
isMaster:
- ${{ github.base_ref == 'master' }}
# Exclude conda and singularity on dev
Expand All @@ -43,12 +47,6 @@ jobs:
profile: "conda"
- isMaster: false
profile: "singularity"
parameters:
- "test"
- "test_long"
- "test_long_miniasm"
- "test_hybrid"
- "test_dfast"

steps:
- name: Check out pipeline code
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#179](https://github.com/nf-core/bacass/pull/179) Fixed matrix.test_name in linting and missing features from template 3.0.2.
- [#178](https://github.com/nf-core/bacass/pull/178) Fixed bakta running only for one sample.
- [#169](https://github.com/nf-core/bacass/pull/169) Fixed long reads polishing input channel.
- [#168](https://github.com/nf-core/bacass/pull/168) Fix wrong metadata in canu input channel.
Expand Down
4 changes: 0 additions & 4 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"anyOf": [
{
"type": ["string", "null"],
"exists": true,
"pattern": "^(\\S+\\.f(ast)?q\\.gz|NA)$"
},
{
Expand All @@ -33,7 +32,6 @@
"anyOf": [
{
"type": ["string", "null"],
"exists": true,
"pattern": "^(\\S+\\.f(ast)?q\\.gz|NA)$"
},
{
Expand All @@ -47,7 +45,6 @@
"anyOf": [
{
"type": ["string", "null"],
"exists": true,
"pattern": "^(\\S+\\.f(ast)?q\\.gz|NA)$"
},
{
Expand All @@ -61,7 +58,6 @@
"anyOf": [
{
"type": ["string", "null"],
"exists": true,
"pattern": "^(\\/[\\S\\s]*|NA)$"
},
{
Expand Down
14 changes: 9 additions & 5 deletions conf/test_dfast.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test_dfast profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = params.pipelines_testdata_base_path + 'bacass/bacass_short.tsv'

Expand Down
9 changes: 9 additions & 0 deletions conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Full test profile'
config_profile_description = 'Full test dataset to check pipeline function'
Expand Down
14 changes: 9 additions & 5 deletions conf/test_hybrid.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = params.pipelines_testdata_base_path + 'bacass/bacass_hybrid.tsv'

Expand Down
14 changes: 9 additions & 5 deletions conf/test_hybrid_dragonflye.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test hybrid-dragonflye profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = params.pipelines_testdata_base_path + 'bacass/bacass_hybrid_dragonflye.tsv'

Expand Down
14 changes: 9 additions & 5 deletions conf/test_long.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test_long profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = params.pipelines_testdata_base_path + 'bacass/bacass_long_miniasm.tsv'

Expand Down
8 changes: 8 additions & 0 deletions conf/test_long_dragonflye.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
----------------------------------------------------------------------------------------
*/
// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test_long_dragonfyle profile'
Expand Down
14 changes: 9 additions & 5 deletions conf/test_long_miniasm.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
----------------------------------------------------------------------------------------
*/

// Limit resources so that this can run on GitHub Actions
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test_long_miniasm profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = params.pipelines_testdata_base_path + 'bacass/bacass_long_miniasm.tsv'

Expand Down

0 comments on commit 02bf3dd

Please sign in to comment.