Skip to content

Commit bbc3868

Browse files
authored
Merge pull request #1422 from smorimoto/add-missing-depends
Add missing dev depends
2 parents d0e79e7 + 61eec17 commit bbc3868

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
- ubuntu-latest
2121
- macos-latest
2222
- windows-latest
23-
ocaml-compiler:
24-
- "5.2"
2523

2624
runs-on: ${{ matrix.os }}
2725

@@ -44,11 +42,10 @@ jobs:
4442
- name: Install npm packages
4543
run: yarn install --frozen-lockfile
4644

47-
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
45+
- name: Set-up OCaml
4846
uses: ocaml/setup-ocaml@v3
4947
with:
50-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
51-
allow-prerelease-opam: true
48+
ocaml-compiler: "5.2"
5249

5350
# Remove this pin once a compatible version of Merlin has been released
5451
# - name: Pin dev Merlin
@@ -82,10 +79,9 @@ jobs:
8279
submodules: true
8380

8481
- name: Set-up OCaml
85-
uses: ocaml/setup-ocaml@v2
82+
uses: ocaml/setup-ocaml@v3
8683
with:
8784
ocaml-compiler: "5.2"
88-
allow-prerelease-opam: true
8985

9086
- name: Set git user
9187
run: |
@@ -96,7 +92,8 @@ jobs:
9692
run: |
9793
opam install . --deps-only
9894
opam exec -- make coverage-deps install-test-deps
95+
9996
- run: opam exec -- make test-coverage
10097
env:
101-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
COVERALLS_REPO_TOKEN: ${{ github.token }}
10299
PULL_REQUEST_NUMBER: ${{ github.event.number }}

dune-project

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ possible and does not make any assumptions about IO.
3737
(ppx_expect (and (>= v0.17.0) :with-test))
3838
(uutf (>= 1.0.2))
3939
(odoc :with-doc)
40-
(ocaml (>= 4.14))))
40+
(ocaml (>= 4.14))
41+
(ppx_yojson_conv :with-dev-setup)))
4142

4243
(package
4344
(name ocaml-lsp-server)
@@ -69,7 +70,8 @@ possible and does not make any assumptions about IO.
6970
(csexp (>= 1.5))
7071
(ocamlformat-rpc-lib (>= 0.21.0))
7172
(odoc :with-doc)
72-
(merlin-lib (and (>= 5.2) (< 6.0)))))
73+
(merlin-lib (and (>= 5.2) (< 6.0)))
74+
(ppx_yojson_conv :with-dev-setup)))
7375

7476
(package
7577
(name jsonrpc)

lsp.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ depends: [
3232
"uutf" {>= "1.0.2"}
3333
"odoc" {with-doc}
3434
"ocaml" {>= "4.14"}
35+
"ppx_yojson_conv" {with-dev-setup}
3536
]
3637
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
3738
build: [

ocaml-lsp-server.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ depends: [
4646
"ocamlformat-rpc-lib" {>= "0.21.0"}
4747
"odoc" {with-doc}
4848
"merlin-lib" {>= "5.2" & < "6.0"}
49+
"ppx_yojson_conv" {with-dev-setup}
4950
]
5051
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
5152
build: [

0 commit comments

Comments
 (0)