File tree Expand file tree Collapse file tree 11 files changed +13
-20
lines changed
Expand file tree Collapse file tree 11 files changed +13
-20
lines changed Original file line number Diff line number Diff line change 2929 - name : Install dependencies
3030 run : |
3131 eval $(opam env)
32- opam install . --deps-only --with-test --yes
33- opam install bisect_ppx --yes
32+ opam install . --deps-only --with-test --with-dev-setup --yes
3433 opam install ppx_deriving --yes
3534
3635 - name : Build
Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ runbin:
2626
2727coverage :
2828 @mkdir -p _coverage
29- @export BISECT_FILE=$$(pwd ) /_coverage/bisect && \
30- export BISECT_ENABLE=yes && \
31- dune runtest --instrument-with bisect_ppx --force
29+ @rm -f _coverage/bisect* .coverage
30+ @BISECT_FILE=$$(pwd ) /_coverage/bisect BISECT_ENABLE=yes dune runtest --instrument-with bisect_ppx --force
3231 @echo " "
3332 @echo " Coverage Summary:"
3433 @echo " ================"
Original file line number Diff line number Diff line change 11(executables
22 (names main)
3- (libraries liquid_ml base core)
4- (preprocess
5- (pps bisect_ppx --conditional)))
3+ (libraries liquid_ml base core))
Original file line number Diff line number Diff line change 1- (lang dune 2 .5 )
1+ (lang dune 2 .7 )
22(name liquid)
Original file line number Diff line number Diff line change 11(library
22 (public_name liquid_interpreter)
33 (libraries base core stdio re2 liquid_syntax liquid_parser liquid_std)
4- (preprocess
5- (pps bisect_ppx --conditional)))
4+ (instrumentation (backend bisect_ppx)))
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ depends: [
2424 "liquid_std" { = version }
2525 "liquid_interpreter" { = version }
2626 "alcotest" { >= "1.5.0" & with-test }
27+ "bisect_ppx" { >= "2.0.0" & with-dev-setup }
2728]
2829build: [
2930 ["dune" "build" "-p" name "-j" jobs]
Original file line number Diff line number Diff line change 11(library
22 (public_name liquid_ml)
33 (libraries base core stdio liquid_syntax liquid_parser liquid_interpreter)
4- (preprocess
5- (pps bisect_ppx --conditional)))
4+ (instrumentation (backend bisect_ppx)))
Original file line number Diff line number Diff line change 11(library
22 (public_name liquid_parser)
33 (libraries base core stdio re2 liquid_syntax)
4- (preprocess
5- (pps bisect_ppx --conditional)))
4+ (instrumentation (backend bisect_ppx)))
Original file line number Diff line number Diff line change 22 (public_name liquid_std)
33 (libraries base core stdio re2 calendar base64 sha str liquid_syntax
44 liquid_parser)
5- (preprocess
6- (pps bisect_ppx --conditional)))
5+ (instrumentation (backend bisect_ppx)))
Original file line number Diff line number Diff line change 22 (public_name liquid_syntax)
33 (libraries base core stdio re2 calendar ppx_deriving.runtime)
44 (preprocess
5- (pps bisect_ppx --conditional ppx_deriving.show)))
5+ (pps ppx_deriving.show))
6+ (instrumentation (backend bisect_ppx)))
You can’t perform that action at this time.
0 commit comments