From 0cd3da86f907bc73bce03a031377fb98a1eb898f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 20 Oct 2019 01:38:49 -0500 Subject: CI: Fix LCOV job --- .gitlab-ci.yml | 6 +++--- 1 file 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 -- cgit v1.2.3-70-g09d2