File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 20
20
- 4.12.x
21
21
- 4.14.x
22
22
include :
23
- - os : ubuntu-latest # Enable coverage only on a single build
23
+ - os : ubuntu-latest
24
24
ocaml-compiler : 4.14.x
25
+ # We don't need to compute coverage for more than one build
25
26
send-coverage : true
27
+ # Mdx tests Mdx tests
28
+ run-mdx : true
26
29
fail-fast : false
27
30
28
31
runs-on : ${{ matrix.os }}
@@ -44,21 +47,19 @@ jobs:
44
47
- name : Install dependencies
45
48
run : opam install -y --deps-only -t ./odoc.opam ./odoc-parser.opam
46
49
47
- - name : Install bisect_ppx
48
- run : opam install bisect_ppx
49
-
50
50
- name : dune runtest
51
51
run : opam exec -- dune runtest
52
52
53
- # Run Mdx tests that are disabled by default.
54
53
- name : Mdx tests
54
+ if : matrix.run-mdx == true
55
55
run : |
56
56
opam install -y mdx
57
57
opam exec -- dune build @runmdx
58
58
59
59
- name : Send coverage stats to Coveralls
60
60
if : matrix.send-coverage == true
61
61
run : |
62
+ opam install bisect_ppx
62
63
opam exec -- dune runtest --instrument-with bisect_ppx --force
63
64
opam exec -- bisect-ppx-report send-to Coveralls
64
65
env :
You can’t perform that action at this time.
0 commit comments