Add Lwt_result.collect
without deps
#955
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builds, tests & co | |
on: | |
pull_request: | |
push: | |
schedule: | |
# Prime the caches every Monday | |
- cron: 0 1 * * MON | |
jobs: | |
build-and-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-compiler: | |
- "4.08" | |
- "4.09" | |
- "4.10" | |
- "4.11" | |
- "4.12" | |
- "4.13" | |
- "4.14" | |
- "5.0" | |
- "5.1" | |
- "5.2" | |
libev: | |
- true | |
- false | |
include: | |
- os: ubuntu-latest | |
ocaml-compiler: ocaml-variants.5.2.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static,ocaml-option-no-compression | |
libev: false | |
- os: macos-latest | |
ocaml-compiler: "5.2" | |
libev: false | |
- os: windows-latest | |
ocaml-compiler: "5.2" | |
libev: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@v4 | |
- name: Set-up OCaml | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
- run: opam install conf-libev | |
if: ${{ matrix.libev == true }} | |
- run: opam install . --deps-only --with-test | |
- run: opam exec -- dune build | |
- run: opam exec -- dune runtest --instrument-with bisect_ppx --force | |
- run: opam exec -- bisect-ppx-report summary --per-file | |
lint-opam: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@v4 | |
- name: Set-up OCaml | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: "5.2" | |
dune-cache: true | |
- uses: ocaml/setup-ocaml/lint-opam@v3 |