Skip to content
Snippets Groups Projects
Verified Commit 87db10f3 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

temporarily remove coverage reports (too slow)

parent 1cc58bb8
No related branches found
No related tags found
1 merge request!412take over the changes from master
...@@ -150,16 +150,6 @@ check for dependencies installed: ...@@ -150,16 +150,6 @@ check for dependencies installed:
reports: reports:
junit: tests.xml junit: tests.xml
.coverage: &coverage
stage: test
script:
- py.test -r w --cov=kwant --cov-report term --cov-report html --flakes kwant --junitxml=tests.xml --durations=10
artifacts:
paths:
- htmlcov
reports:
junit: tests.xml
test:stable: test:stable:
<<: *test <<: *test
...@@ -248,38 +238,7 @@ check for broken links in doc: ...@@ -248,38 +238,7 @@ check for broken links in doc:
allow_failure: true allow_failure: true
## Upload coverage reports and dev documentation ## Upload dev documentation
upload coverage:
stage: deploy
only:
- schedules
dependencies:
- coverage:latest
environment:
name: coverage/$CI_BUILD_REF_NAME
url: https://kwant-project.org/coverage/$CI_BUILD_REF_SLUG
on_stop: remove_coverage
script:
- eval $(ssh-agent -s)
- echo $MASTER_WEBSITE_KEY | base64 -d | ssh-add -
- mv htmlcov $CI_BUILD_REF_SLUG
- rsync -rlv -e "$SSH_COMMAND" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
remove_coverage:
stage: deploy
only:
- branches@kwant/kwant
when: manual
environment:
name: coverage/$CI_BUILD_REF_NAME
action: stop
script:
- eval $(ssh-agent -s)
- echo $MASTER_WEBSITE_KEY | base64 -d | ssh-add -
- mkdir empty/
- rsync -rlv -e "$SSH_COMMAND" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
upload documentation to the test server: upload documentation to the test server:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment