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 c7c44a5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: OCaml CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

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

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

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

0 comments on commit c7c44a5

Please sign in to comment.