Skip to content
Snippets Groups Projects
Commit d9919554 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Only run certain tests on branches vs master.

parent 5f6dd111
No related merge requests found
...@@ -17,6 +17,10 @@ user_configuration: ...@@ -17,6 +17,10 @@ user_configuration:
single_end_mouse: single_end_mouse:
stage: single stage: single
only:
- master
except:
- branches
script: script:
- nextflow run workflow/main.nf -resume - nextflow run workflow/main.nf -resume
- pytest -m singleend - pytest -m singleend
...@@ -25,6 +29,10 @@ single_end_mouse: ...@@ -25,6 +29,10 @@ single_end_mouse:
paired_end_human: paired_end_human:
stage: single stage: single
only:
- branches
except:
- master
script: script:
- nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR729LGA_PE.txt" --genome 'GRCh38' --pairedEnd true -resume - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR729LGA_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
- pytest -m pairedend - pytest -m pairedend
...@@ -33,6 +41,10 @@ paired_end_human: ...@@ -33,6 +41,10 @@ paired_end_human:
single_end_diff: single_end_diff:
stage: multiple stage: multiple
only:
- branches
except:
- master
script: script:
- nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume
- pytest -m singlediff - pytest -m singlediff
...@@ -40,6 +52,10 @@ single_end_diff: ...@@ -40,6 +52,10 @@ single_end_diff:
expire_in: 2 days expire_in: 2 days
paired_end_diff: paired_end_diff:
only:
- master
except:
- branches
stage: multiple stage: multiple
script: script:
- nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_PE.txt" --genome 'GRCh38' --pairedEnd true -resume - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment