Merge branch 'balsoft/show-coverage-reports' into 'dev'
Always show coverage reports&disable webide e2e test See merge request ligolang/ligo!641
This commit is contained in:
commit
6dd296260e
@ -63,12 +63,14 @@ test:
|
||||
- /^.*-run-dev$/
|
||||
script:
|
||||
- nix-build nix -A ligo-coverage
|
||||
- cat result/share/coverage-all
|
||||
- cp -Lr --no-preserve=mode,ownership,timestamps result/share/coverage .
|
||||
artifacts:
|
||||
paths:
|
||||
- coverage
|
||||
|
||||
webide-e2e:
|
||||
# Strange race conditions, disable for now
|
||||
.webide-e2e:
|
||||
extends: .nix
|
||||
only:
|
||||
- merge_requests
|
||||
|
@ -133,19 +133,16 @@ in {
|
||||
echo "Coverage:"
|
||||
BISECT_ENABLE=yes dune runtest --force
|
||||
bisect-ppx-report html -o $out/share/coverage/all --title="LIGO overall test coverage"
|
||||
bisect-ppx-report summary --per-file
|
||||
bisect-ppx-report summary --per-file > $out/share/coverage-all
|
||||
echo "Test coverage:"
|
||||
BISECT_ENABLE=yes dune runtest src/test --force
|
||||
bisect-ppx-report html -o $out/share/coverage/ligo --title="LIGO test coverage"
|
||||
bisect-ppx-report summary --per-file
|
||||
echo "Doc coverage:"
|
||||
BISECT_ENABLE=yes dune build @doc-test --force
|
||||
bisect-ppx-report html -o $out/share/coverage/docs --title="LIGO doc coverage"
|
||||
bisect-ppx-report summary --per-file
|
||||
echo "CLI test coverage:"
|
||||
BISECT_ENABLE=yes dune runtest src/bin/expect_tests
|
||||
bisect-ppx-report html -o $out/share/coverage/cli --title="CLI test coverage"
|
||||
bisect-ppx-report summary --per-file
|
||||
'';
|
||||
installPhase = "true";
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user