Skip to content

Commit

Permalink
Run dune tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
punchagan committed Feb 7, 2024
1 parent 2c4c0dd commit c350ce3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: OCaml CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup OCaml 5.1.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 5.1.x

- name: Install Dependencies
run: |
opam install . --deps-only --with-test
- name: Run Dune tests
run: |
opam exec -- dune runtest

0 comments on commit c350ce3

Please sign in to comment.