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 45e9a96
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
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: dune build @runtest

0 comments on commit 45e9a96

Please sign in to comment.