Skip to content

Commit

Permalink
and again
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed May 22, 2024
1 parent 11267a3 commit 3d84dc4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
ocaml-compiler:
- "5.2"

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

Expand All @@ -45,12 +43,10 @@ jobs:
run: yarn --frozen-lockfile
working-directory: ocaml-lsp-server/test/e2e

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
opam-repositories: ${{ matrix.opam-repositories }}
ocaml-compiler: "5.2"

- name: Build and install dependencies
run: opam install .
Expand All @@ -59,19 +55,15 @@ jobs:
# ppx expect is not yet compatible with 5.1 and test output vary from one
# compiler to another. We only test on 4.14.
- name: Install test dependencies
if: matrix.ocaml-compiler == '4.14'
run: opam exec -- make install-test-deps

- name: Run build @all
if: matrix.ocaml-compiler == '4.14'
run: opam exec -- make all

- name: Run the unit tests
if: matrix.ocaml-compiler == '4.14'
run: opam exec -- make test-ocaml

- name: Run the template integration tests
if: matrix.ocaml-compiler == '4.14'
run: opam exec -- make test-e2e

coverage:
Expand Down

0 comments on commit 3d84dc4

Please sign in to comment.