Skip to content

Show detailed diagnostics for 500 server errors #270

Show detailed diagnostics for 500 server errors

Show detailed diagnostics for 500 server errors #270

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- 5
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 . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
lint-doc:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
ocaml-compiler: [ ocaml-base-compiler.5.3.0 ]
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 }}
- uses: ocaml/setup-ocaml/lint-doc@v3
lint-fmt:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
ocaml-compiler: [ ocaml-base-compiler.5.3.0 ]
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 }}
- uses: ocaml/setup-ocaml/lint-fmt@v3