Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hem
hamlet
Commits
8fa83423
Commit
8fa83423
authored
Jun 27, 2022
by
van den Berg
Browse files
Split functional tests by module, to reduce total runtime
parent
181179a2
Pipeline
#8727
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
8fa83423
...
...
@@ -9,7 +9,7 @@ defaults:
shell
:
bash -l {0}
jobs
:
test
:
test
-dry-run
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
...
...
@@ -52,3 +52,51 @@ jobs:
bash -c '
for file in $(find /tmp -name log.err);
do echo $file; cat $file; done'
test-functional
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
module
:
-
qc
-
itd
-
fusion
-
expression
-
snv-indels
-
hamlet
steps
:
-
uses
:
actions/checkout@v2.3.4
# https://github.com/actions/checkout.
with
:
submodules
:
recursive
-
name
:
Set up Conda environment
uses
:
conda-incubator/setup-miniconda@v2.0.1
# https://github.com/conda-incubator/setup-miniconda.
with
:
activate-environment
:
HAMLET
environment-file
:
environment.yml
auto-activate-base
:
false
-
name
:
Install singularity
uses
:
eWaterCycle/setup-singularity@v6
with
:
singularity-version
:
3.6.4
-
name
:
Run test in conda environment
run
:
>-
pytest --keep-workflow-wd-on-fail
--tag ${{ matrix.module}}
--tag functional
-
name
:
Check pytest stdout messages in case of failure
if
:
${{ failure() }}
run
:
>-
bash -c '
for file in $(find /tmp -name log.out);
do echo $file; cat $file; done'
-
name
:
Check pytest stderr messages in case of failure
if
:
${{ failure() }}
run
:
>-
bash -c '
for file in $(find /tmp -name log.err);
do echo $file; cat $file; done'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment