Skip to content

Commit

Permalink
Try getting github secrets in nf-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tillenglert committed Apr 24, 2024
1 parent 0d30528 commit 383e49a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 1 addition & 3 deletions nf-test.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
config {

config {
// location for all nf-tests
testsDir "tests"
Expand All @@ -15,6 +13,6 @@ config {

// run all test with the defined docker profile from the main nextflow.config
profile ""
}

}

5 changes: 4 additions & 1 deletion tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// Impose same minimum Nextflow version as the pipeline for testing
//env {
// NCBI_EMAIL = '\$"\u007B""\u007B" NCBI_EMAIL "\u007D""\u007D"'
// NCBI_KEY = '\$"\u007B""\u007B" NCBI_KEY "\u007D""\u007D"'
// }
4 changes: 2 additions & 2 deletions tests/pipeline/test_all.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ nextflow_pipeline {
when {
params {
outdir = "$outputDir"
ncbi_email = "$NCBI_EMAIL"
ncbi_key = "$NCBI_KEY"
ncbi_email = "\$NCBI_EMAIL"
ncbi_key = "\$NCBI_KEY"
}
}

Expand Down
4 changes: 2 additions & 2 deletions tests/pipeline/test_mouse.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ nextflow_pipeline {
when {
params {
outdir = "$outputDir"
ncbi_email = "$NCBI_EMAIL"
ncbi_key = "$NCBI_KEY"
ncbi_email = "\$NCBI_EMAIL"
ncbi_key = "\$NCBI_KEY"
}
}

Expand Down
4 changes: 2 additions & 2 deletions tests/pipeline/test_taxa_only.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ nextflow_pipeline {
when {
params {
outdir = "$outputDir"
ncbi_email = "$NCBI_EMAIL"
ncbi_key = "$NCBI_KEY"
ncbi_email = "\$NCBI_EMAIL"
ncbi_key = "\$NCBI_KEY"
}
}

Expand Down
4 changes: 2 additions & 2 deletions tests/pipeline/test_taxa_specific_assembly.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ nextflow_pipeline {
when {
params {
outdir = "$outputDir"
ncbi_email = "$NCBI_EMAIL"
ncbi_key = "$NCBI_KEY"
ncbi_email = "\\\$NCBI_EMAIL"
ncbi_key = "\\\$NCBI_KEY"
}
}

Expand Down

0 comments on commit 383e49a

Please sign in to comment.