Skip to content

Commit

Permalink
GHA: simplify the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Jul 24, 2024
1 parent 5754e99 commit 3f0275a
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,19 @@ jobs:
fail-fast: false
matrix:
ocaml:
- 5.0.x
- 4.14.x
- 4.13.1
- 4.12.1
- 4.11.2
- 4.10.2
- 4.09.1
- 4.08.1
- 4.07.1
- 4.06.1
- 4.05.0
- 4.04.2
- 5
- 4
- 4.03.0

steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{matrix.ocaml}}
- run: opam install --deps-only --with-test . --yes
- run: opam exec -- make test
- run: opam lint
- if: ${{matrix.ocaml == '4.13.1'}}
- if: ${{matrix.ocaml == '5'}}
env:
COVERALLS_REPO_TOKEN: ${{secrets.GITHUB_TOKEN}}
PULL_REQUEST_NUMBER: ${{github.event.number}}
Expand Down

0 comments on commit 3f0275a

Please sign in to comment.