Add tests#29
Conversation
There was a problem hiding this comment.
Added this to integrate CI, but can also remove if it's annoying to keep getting errors every time we push a commit.
There was a problem hiding this comment.
Tests executed properly. For some reason the test run in the second image was processing more slowly yesterday. Not sure if that was due to some other jobs on the cluster taking up resources. The test had no problem executing, though.
| .fromPath("${params.readsdir}/${params.filepattern}", checkIfExists: true) | ||
| .map { file -> | ||
| def sample = file.baseName // ERR3405856.fastq -> ERR3405856 | ||
| def sample = file.baseName.replaceFirst(/(\.fastq|\.fq)$/, '') // ERR3405856.fastq -> ERR3405856 |
There was a problem hiding this comment.
Added this because just baseName was just removing .gz when the filename ended with fastq.gz.
|
OK, so the tests work locally, but #30 is still open? |
|
Yes, I created this issue because I think it will be hard to fully use CI with Github unless we create a docker environment that can be used on the Github servers. Last time we chatted you said that may be out of scope, but we can definitely revisit. |
|
It's definitely doable, but yes, out of scope. |


In this PR: