Skip to content

alcotest: reraise Skip #57

alcotest: reraise Skip

alcotest: reraise Skip #57

Workflow file for this run

name: Build and Test
on:
- push
- pull_request
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
# - windows-latest
ocaml-version:
- 4.14
- 5.2
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
dune-cache: true
allow-prerelease-opam: true
- run: opam install . --deps-only --with-test
- name: build project
run: opam exec -- dune build
- name: run test
run: opam exec -- dune runtest
- name: junit report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Test Report
path: "_build/default/alcotest/test/*.xml,_build/default/junit/test/*.xml"
reporter: java-junit
fail-on-error: false # Report results but don't fail the build
fail-on-empty: true # Use an empty test report to detect when something failed with the test runner
- run: opam install . --deps-only --with-test --criteria='+removed,+count[version-lag,solution]' --solver=builtin-0install
- name: build project
run: opam exec -- dune build
- name: run test
run: opam exec -- dune runtest