Skip to content

Commit

Permalink
Merge pull request #19 from CCBR/ci
Browse files Browse the repository at this point in the history
test: update stub config to make sure cruise init works
  • Loading branch information
kelly-sovacool authored Oct 16, 2023
2 parents 4f11d77 + 8c6bcd7 commit 8151d59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ jobs:
pip install .[dev,test]
- name: Test stub run
run: |
cd tests/
cruise init
cruise run -profile ci_stub -stub
4 changes: 2 additions & 2 deletions conf/ci_stub.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ params {
config_profile_name = 'Test single-end stubs'
config_profile_description = 'Minimal test dataset with blank references to run stubs with continuous integration'

input = 'tests/assets/samplesheet.csv' // adapted from https://github.com/nf-core/test-datasets/blob/chipseq/samplesheet/v2.0/samplesheet_test.csv
input = 'assets/samplesheet.csv' // adapted from https://github.com/nf-core/test-datasets/blob/chipseq/samplesheet/v2.0/samplesheet_test.csv
library = 'assets/lib/yusa_library.csv'
outdir = 'results/test'
design_matrix = 'tests/data/designmat.txt'
design_matrix = 'data/designmat.txt'

max_cpus = 2 // for GitHub Actions https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
max_memory = '6.GB'
Expand Down
4 changes: 2 additions & 2 deletions tests/assets/samplesheet.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample,fastq_1,fastq_2,treat_or_ctrl
s1_rep1,tests/data/file1.fastq.gz,,treatment
s2_rep1,tests/data/file2.fastq.gz,,control
s1_rep1,data/file1.fastq.gz,,treatment
s2_rep1,data/file2.fastq.gz,,control

0 comments on commit 8151d59

Please sign in to comment.