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
7761e63f
Commit
7761e63f
authored
4 years ago
by
van den Berg
Browse files
Options
Downloads
Patches
Plain Diff
Add conda cache
parent
1030a727
No related branches found
No related tags found
No related merge requests found
Pipeline
#5298
failed
4 years ago
Stage: sanity
Stage: dry-run
Stage: integration
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yml
+18
-3
18 additions, 3 deletions
.github/workflows/ci.yml
with
18 additions
and
3 deletions
.github/workflows/ci.yml
+
18
−
3
View file @
7761e63f
...
...
@@ -18,16 +18,31 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
eWaterCycle/setup-singularity@v6
-
name
:
Install singularity
uses
:
eWaterCycle/setup-singularity@v6
with
:
singularity-version
:
3.6.4
-
uses
:
conda-incubator/setup-miniconda@v2.0.1
-
name
:
Cache conda environment
uses
:
actions/cache@v2
env
:
cache-name
:
cache-conda-environment
# Increase this value to reset the cache without changing
# environment.yml
cache-number
:
0
with
:
path
:
~/conda_pkgs_dir
key
:
build-${{ env.cache-name }}-${{ env.cache-number }}-{{ hashFiles('environment.yml') }}
-
name
:
Install miniconda
uses
:
conda-incubator/setup-miniconda@v2.0.1
# https://github.com/conda-incubator/setup-miniconda.
# https://github.com/marketplace/actions/setup-miniconda
with
:
activate-environment
:
hutspot
environment-file
:
environment.yml
auto-activate-base
:
false
use-only-tar-bz2
:
true
-
name
:
Run test in conda evironment
# Use --symlink to limit disk usage.
...
...
@@ -54,7 +69,7 @@ jobs:
if
:
${{ failure() }}
run
:
>-
bash -c '
for file in $(find /tmp/pytest_workflow_*/log/ -type f); do
for file in $(find /tmp/pytest_workflow_*/
${{ matrix.test}}/
log/ -type f); 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