Skip to content

ci: add Dependabot auto-merge workflow #3

ci: add Dependabot auto-merge workflow

ci: add Dependabot auto-merge workflow #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: OCaml unit & perf regression tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: '5.2'
opam-pin: false
- name: Install test deps
run: opam install --yes alcotest
- name: Build (lib + tests + bench)
run: opam exec -- dune build lib/ test/
- name: Run tests
run: opam exec -- dune runtest --force