-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (29 loc) · 741 Bytes
/
Copy pathmain.yml
File metadata and controls
38 lines (29 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install Package
uses: ConorMacBride/install-package@v1.1.0
- name: Use OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.0
- name: conf-python
run: |
opam install conf-python-3.1.0.0 menhir
eval $(opam env)
- name: Installing deps
run: opam install . --deps-only --with-doc
shell: bash
- name: Run tests
run: |
opam exec -- dune build
opam exec -- dune runtest