Skip to content

Commit 2e3613d

Browse files
committed
Try to fix depexts in GitHub workflow
1 parent 06c8e86 commit 2e3613d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,14 @@ jobs:
2323
- name: Checkout tree
2424
uses: actions/checkout@v4
2525

26-
- name: Set-up OCaml
26+
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
2727
uses: ocaml/setup-ocaml@v3
2828
with:
2929
ocaml-compiler: 5
3030

31-
- name: Install OS dependencies
32-
run: opam install --depext-only .
31+
- run: opam install . --deps-only --with-test
3332

34-
- name: Install OCaml dependencies
35-
run: opam install . --deps-only --with-test
33+
- run: opam exec -- dune build
3634

37-
- name: Build project
38-
run: opam exec -- dune build
39-
40-
- name: Run tests
41-
run: opam exec -- dune runtest
35+
- run: opam exec -- dune runtest
4236
# vim: filetype=yaml

0 commit comments

Comments
 (0)