Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
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
Model registry
Operate
Environments
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
Joseph Weston
kwant
Commits
1da7f5ec
Verified
Commit
1da7f5ec
authored
5 years ago
by
Anton Akhmerov
Browse files
Options
Downloads
Patches
Plain Diff
temporarily remove coverage reports (too slow)
parent
64441ca5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#17251
passed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-39
2 additions, 39 deletions
.gitlab-ci.yml
with
2 additions
and
39 deletions
.gitlab-ci.yml
+
2
−
39
View file @
1da7f5ec
...
...
@@ -168,10 +168,8 @@ check for dependencies installed:
.test
:
&test
stage
:
test
script
:
-
py.test -r w
--cov=kwant --cov-report term --cov-report html
--flakes kwant --junitxml=tests.xml --durations=10
-
py.test -r w --flakes kwant --junitxml=tests.xml --durations=10
artifacts
:
paths
:
-
htmlcov
reports
:
junit
:
tests.xml
...
...
@@ -253,42 +251,7 @@ check for broken links in doc:
allow_failure
:
true
## Upload coverage reports and dev documentation
upload coverage
:
stage
:
deploy
only
:
-
branches@kwant/kwant
environment
:
name
:
coverage/$CI_BUILD_REF_NAME
url
:
https://kwant-project.org/coverage/$CI_BUILD_REF_SLUG
on_stop
:
remove_coverage
before_script
:
-
mkdir -p ~/.ssh
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mv htmlcov $CI_BUILD_REF_SLUG
-
rsync -rlv -e "$IGNORE_HOSTKEY" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
after_script
:
-
rm -rf ~/.ssh
remove_coverage
:
stage
:
deploy
only
:
-
branches@kwant/kwant
when
:
manual
environment
:
name
:
coverage/$CI_BUILD_REF_NAME
action
:
stop
before_script
:
-
mkdir -p ~/.ssh
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mkdir empty/
-
rsync -rlv -e "$IGNORE_HOSTKEY" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
after_script
:
-
rm -rf ~/.ssh
## Upload dev documentation
upload documentation to the test server
:
...
...
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