Skip to content

Fix cram test

Fix cram test #3

Workflow file for this run

name: RoutesTest
on:
- push
- pull_request
jobs:
build:
name: Build
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system:
- ubuntu-latest
ocaml-version:
- 4.14.x
- 4.08.x
steps:
- uses: actions/checkout@v2
- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
dune-cache: ${{ matrix.operating-system == 'ubuntu-latest' }}
opam-depext-flags: --with-test
- name: Install dependencies
run: |
opam pin add routes.dev -n .
opam install -t . --deps-only
- name: Run tests
run: |
opam exec -- dune runtest
- name: Build examples
run: |
opam exec -- dune build @example