Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hutspot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klinische Genetica
capture-lumc
hutspot
Commits
b53a4948
Commit
b53a4948
authored
4 years ago
by
van den Berg
Browse files
Options
Downloads
Patches
Plain Diff
Add github workflows
parent
08281f79
No related branches found
No related tags found
No related merge requests found
Pipeline
#5289
failed
4 years ago
Stage: sanity
Stage: dry-run
Stage: integration
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/PULL_REQUEST_TEMPLATE.md
+4
-0
4 additions, 0 deletions
.github/PULL_REQUEST_TEMPLATE.md
.github/workflows/ci.yml
+79
-0
79 additions, 0 deletions
.github/workflows/ci.yml
with
83 additions
and
0 deletions
.github/PULL_REQUEST_TEMPLATE.md
0 → 100644
+
4
−
0
View file @
b53a4948
### Checklist
-
[ ] Pull request details were added to CHANGELOG.md.
-
[ ] New tests have been added to the matrix section of the
.github/workflows/ci.yml file.
This diff is collapsed.
Click to expand it.
.github/workflows/ci.yml
0 → 100644
+
79
−
0
View file @
b53a4948
name
:
Continuous Integration
on
:
[
push
,
pull_request
]
defaults
:
run
:
# This is needed for miniconda, see:
# https://github.com/marketplace/actions/setup-miniconda#important.
shell
:
bash -l {0}
jobs
:
tests
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
test
:
-
sanity-snakemake
-
sanity-snakemake-lint
-
sanity-singularity
-
sanity-no-reference
-
sanity-reference-does-not-exist
-
sanity-baits-only
-
sanity-targets-only
-
sanity-samples-overlapping-name
-
sanity-multisample
-
dry-run-vanilla
-
dry-run-target-baits
-
dry-run-bed-coverage
-
dry-run-multisample
-
integration-vanilla
-
integration-small-scatter
-
integration-refflat
-
integration-all-on-target
-
integration-gene-bedfile
-
integration-two-known-sites
-
integration-two-readgroups
-
integration-two-samples
-
integration-target-baits
-
integration-bed-coverage
-
integration-restrict_BQSR
-
integration-targets-only
-
integration-multisample
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
eWaterCycle/setup-singularity@v6
with
:
singularity-version
:
3.6.4
-
uses
:
conda-incubator/setup-miniconda@v2.0.1
# https://github.com/conda-incubator/setup-miniconda.
with
:
activate-environment
:
hutspot
environment-file
:
environment.yml
auto-activate-base
:
false
-
name
:
Run test in conda evironment
# Use --symlink to limit disk usage.
run
:
>-
pytest --keep-workflow-wd-on-fail --tag ${{ matrix.test }} --symlink tests/
-
name
:
Check job stderr messages in case of failure
if
:
${{ failure() }}
run
:
>-
bash -c '
for file in $(find /tmp/pytest_workflow_* -name log.err); do
echo $file; cat $file
done
'
-
name
:
Check job stdout messages in case of failure
if
:
${{ failure() }}
run
:
>-
bash -c '
for file in $(find /tmp/pytest_workflow_* -name log.out); do
echo $file; cat $file
done
'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment