]> source.dussan.org Git - rspamd.git/commitdiff
Sync lua coverage with .drone.yml 2612/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 27 Oct 2018 21:22:40 +0000 (17:22 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Sat, 27 Oct 2018 21:22:40 +0000 (17:22 -0400)
.circleci/config.yml

index fd47c110b9d7f2a51021ca454fd4c54672d9e9ab..1be12ac86c7c327bf6f3f9a148fce1206b50baa2 100644 (file)
@@ -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