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 2020 - 4.12.x
2121 - 4.14.x
2222 include :
23- - os : ubuntu-latest # Enable coverage only on a single build
23+ - os : ubuntu-latest
2424 ocaml-compiler : 4.14.x
25+ # We don't need to compute coverage for more than one build
2526 send-coverage : true
27+ # Mdx tests Mdx tests
28+ run-mdx : true
2629 fail-fast : false
2730
2831 runs-on : ${{ matrix.os }}
@@ -44,21 +47,19 @@ jobs:
4447 - name : Install dependencies
4548 run : opam install -y --deps-only -t ./odoc.opam ./odoc-parser.opam
4649
47- - name : Install bisect_ppx
48- run : opam install bisect_ppx
49-
5050 - name : dune runtest
5151 run : opam exec -- dune runtest
5252
53- # Run Mdx tests that are disabled by default.
5453 - name : Mdx tests
54+ if : matrix.run-mdx == true
5555 run : |
5656 opam install -y mdx
5757 opam exec -- dune build @runmdx
5858
5959 - name : Send coverage stats to Coveralls
6060 if : matrix.send-coverage == true
6161 run : |
62+ opam install bisect_ppx
6263 opam exec -- dune runtest --instrument-with bisect_ppx --force
6364 opam exec -- bisect-ppx-report send-to Coveralls
6465 env :
You can’t perform that action at this time.
0 commit comments