Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update stub config to make sure cruise init works #19

Merged
merged 2 commits into from
Oct 16, 2023
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 .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