summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 01:38:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 01:38:49 -0500
commit0cd3da86f907bc73bce03a031377fb98a1eb898f (patch)
treed53dbaf937d2ad0ee61dfe26cf317bc82c4f4b3f
parentc8e91af6c8bf7566829a9812f5ff047f1f1e9570 (diff)
downloadhorizon-0cd3da86f907bc73bce03a031377fb98a1eb898f.tar.gz
horizon-0cd3da86f907bc73bce03a031377fb98a1eb898f.tar.bz2
horizon-0cd3da86f907bc73bce03a031377fb98a1eb898f.tar.xz
horizon-0cd3da86f907bc73bce03a031377fb98a1eb898f.zip
CI: Fix LCOV job
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 62f90a2..6db1614 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,14 +16,14 @@ test:
script:
- cd tests
- PATH=../build/tools/hscript-validate:../build/tools/hscript-simulate:$PATH rspec --format RspecJunitFormatter --out rspec.xml
- - cd ..
+ - cd ../build
- make lcov_report
- make lcov_html
- printf 'coverage %s\n' $(lcov --summary horizon.coverage | grep lines | cut -d ' ' -f4) > metrics.txt
coverage: '/lines.+: \d+.\d+%/'
artifacts:
paths:
- - cov_html
+ - build/cov_html
- tests/rspec.xml
reports:
junit: tests/rspec.xml
@@ -41,7 +41,7 @@ pages:
- test
script:
- mkdir public
- - mv cov_html public/coverage
+ - mv build/cov_html public/coverage
- cd devel
- make
- mv requirements/html ../public/requirements