Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/run-tests-with-luacov.sh
3544 views
1
#/usr/bin/env bash
2
3
# We should do this for windows too
4
5
export QUARTO_LUACOV=`pwd`/luacov.stats.out
6
rm -f luacov.stats.out # to get a fresh report; otherwise it appends
7
./run-tests.sh
8
cp luacov.stats.out ${QUARTO_LUACOV}-original
9
quarto run docs/luacov/fixup_coverage.ts ${QUARTO_LUACOV} > ${QUARTO_LUACOV}-fixed # required to resolve paths
10
mv ${QUARTO_LUACOV}-fixed ${QUARTO_LUACOV}
11
unset QUARTO_LUACOV
12
quarto render docs/luacov/report.qmd # generates the actual report file docs/luacov/luacov.report.html
13
14