Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spechomo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
geomultisens
spechomo
Commits
f72ab9bb
Commit
f72ab9bb
authored
3 years ago
by
Daniel Scheffler
Browse files
Options
Downloads
Patches
Plain Diff
Adapted CI jobs to new CI runner.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
2ff17fd7
No related branches found
No related tags found
No related merge requests found
Pipeline
#28324
canceled
3 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-9
4 additions, 9 deletions
.gitlab-ci.yml
with
4 additions
and
9 deletions
.gitlab-ci.yml
+
4
−
9
View file @
f72ab9bb
...
...
@@ -10,14 +10,12 @@ stages:
test_spechomo
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
# run nosetests
-
make nosetests
# test are called here
# create the docs
-
pip install sphinx_rtd_theme
# Read-the-docs theme for SPHINX documentation
-
pip install sphinx-autodoc-typehints
-
make docs
artifacts
:
paths
:
...
...
@@ -32,7 +30,7 @@ test_spechomo:
test_styles
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
-
make lint
artifacts
:
paths
:
...
...
@@ -46,7 +44,7 @@ test_styles:
test_urls
:
stage
:
test
script
:
-
source /root/m
iniconda3
/bin/activate ci_env
-
source /root/m
ambaforge
/bin/activate ci_env
-
pip install -U urlchecker
-
make urlcheck
when
:
always
...
...
@@ -58,9 +56,6 @@ test_spechomo_install:
-
source /root/mambaforge/bin/activate
-
mamba update -n base -c conda-forge --all
# install mamba
-
conda install -n base -c conda-forge mamba
# create spechomo environment from environment_spechomo.yml
-
mamba env create --name spechomo_testinstall -f tests/gitlab_CI_docker/context/environment_spechomo.yml
-
conda activate spechomo_testinstall
...
...
@@ -119,7 +114,7 @@ deploy_pypi:
dependencies
:
-
test_spechomo
script
:
-
source /root/m
iniconda3
/bin/activate
-
source /root/m
ambaforge
/bin/activate
-
conda activate ci_env
-
pip install -U twine
-
python setup.py sdist
...
...
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