Commit e27c8e41 authored by Mathias Stelzer's avatar Mathias Stelzer

ci: fix htmlcov path

parent c4344341
Pipeline #851 passed with stages
in 41 minutes and 11 seconds
......@@ -130,7 +130,7 @@ coverage:
- coverage report
artifacts:
paths:
- tests/htmlcov/
- htmlcov/
coverage: '/^TOTAL[\s\d]+\s+(\d+.\d+\%)\s*$/'
when: always
......@@ -187,7 +187,7 @@ meta:
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host rolln.de\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh publisher@rolln.de "mkdir -p ~/coverage/${NAMESPACE}/${PROJECT_NAME}/${CI_BUILD_REF_NAME}/"
- '[[ ! -d tests/htmlcov ]] || rsync -az --delete tests/htmlcov/ publisher@rolln.de:coverage/${NAMESPACE}/${PROJECT_NAME}/${CI_BUILD_REF_NAME}/'
- '[[ ! -d htmlcov ]] || rsync -az --delete htmlcov/ publisher@rolln.de:coverage/${NAMESPACE}/${PROJECT_NAME}/${CI_BUILD_REF_NAME}/'
- ssh publisher@rolln.de "mkdir -p ~/docs/${NAMESPACE}/${PROJECT_NAME}/${CI_BUILD_REF_NAME}/"
- '[[ ! -d docs/_build/html ]] || rsync -az --delete --exclude=test_files.tar.gz docs/_build/html/ publisher@rolln.de:docs/${NAMESPACE}/${PROJECT_NAME}/${CI_BUILD_REF_NAME}/'
when: always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment