From 8fb8f139e5e2e31219887e77067d738e12fd573c Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Sat, 27 Oct 2018 17:22:40 -0400 Subject: [PATCH] Sync lua coverage with .drone.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index fd47c110b..1be12ac86 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -113,6 +113,10 @@ jobs: - run: cd ../build # see coverage notice in "build" stage - run: set +e; RSPAMD_INSTALLROOT=../install sudo -E bash -c "umask 0000; robot -x xunit.xml --exclude isbroken ../project/test/functional/cases"; echo "export RETURN_CODE=$?" >> $BASH_ENV + # luacov-coveralls reads luacov.stats.out generated by functional tests + # (see collect_lua_coverage() in test/functional/lib/rspamd.py) + # and writes json report for coveralls.io + - run: luacov-coveralls -o lua_coverage_report.json --dryrun - *capture_coverage_data -- 2.39.5