Skip to content

(backport) http-lib: log reason that causes lack of response #18

(backport) http-lib: log reason that causes lack of response

(backport) http-lib: log reason that causes lack of response #18

Workflow file for this run

name: Build and test (2.25-lcm)
on:
push:
pull_request:
jobs:
ocaml-test:
name: Ocaml tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Pull configuration from xs-opam
run: |
curl --fail --silent https://raw.githubusercontent.com/xapi-project/xs-opam/release/yangtze/lcm/tools/xs-opam-ci.env | cut -f2 -d " " > .env
- name: Load environment file
id: dotenv
uses: falti/dotenv-action@v0.2.8
- name: Use ocaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }}
opam-repositories: |
xs-opam: ${{ steps.dotenv.outputs.repository }}
- name: Install dependencies
run: |
opam install . --deps-only --with-test -v
- name: Build
run: opam exec -- make
- name: Run tests
run: opam exec -- make test