Behavior regression CI #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Regression | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
error-regression: | |
name: Error egression | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-compiler: | |
- 4.14.x | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Use OCaml ${{ matrix.ocaml-compiler }} | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
dune-cache: ${{ matrix.os == 'ubuntu-latest' }} | |
- name: Install opam packages | |
run: opam install --deps-only . | |
- name: Run build | |
run: opam exec -- dune build | |
- name: Install merlin | |
run: opam install . | |
- name: Install merl-an | |
run: opam pin -y merl-an https://github.com/pitag-ha/merl-an.git | |
- name: Run tests | |
run: REGRESSION=true opam exec -- dune test regression |