mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-14 16:50:17 +01:00
Remove ignore errors
This commit is contained in:
parent
cc6b3502af
commit
03c79973f0
3
.github/workflows/boxes.yml
vendored
3
.github/workflows/boxes.yml
vendored
@ -22,9 +22,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
LEX: flex
|
|
||||||
YACC: bison
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -159,16 +159,12 @@ function measure_coverage()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# NOTE: It is possible when the white box tests work that we can
|
|
||||||
# remove the --ignore-errors unused option. But for now, we use it so
|
|
||||||
# that the CI is "happy" and we can get a baseline.
|
|
||||||
function consolidate_coverage()
|
function consolidate_coverage()
|
||||||
{
|
{
|
||||||
echo -e "\nConsolidating test coverage ..."
|
echo -e "\nConsolidating test coverage ..."
|
||||||
pushd ${OUT_DIR}/test-results || exit 1
|
pushd ${OUT_DIR}/test-results || exit 1
|
||||||
find . -name "*.info" | xargs printf -- '--add-tracefile %s\n' | xargs --exit \
|
find . -name "*.info" | xargs printf -- '--add-tracefile %s\n' | xargs --exit \
|
||||||
lcov --rc branch_coverage=1 --exclude '*/lex.yy.c' --exclude '*/parser.c' \
|
lcov --rc branch_coverage=1 --exclude '*/lex.yy.c' --exclude '*/parser.c' \
|
||||||
--ignore-errors unused \
|
|
||||||
--output-file ../${COVERAGE_FILE} --add-tracefile ../${BASELINE_FILE}
|
--output-file ../${COVERAGE_FILE} --add-tracefile ../${BASELINE_FILE}
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user