Skip to content

Enable manually starting workflows #42

Enable manually starting workflows

Enable manually starting workflows #42

Workflow file for this run

name: Main workflow
on:
- push
- workflow_dispatch
jobs:
build:
services:
rabbitmq:
image: rabbitmq
ports:
- 5672/tcp
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- 5
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
- run: opam exec -- dune build @integration -p amqp_client_eio
env:
AMQP_PORT: ${{ job.services.rabbitmq.ports[5672] }}