-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from mbarbin/ci-5.3
Ci 5.3
- Loading branch information
Showing
16 changed files
with
414 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
os: | ||
- ubuntu-latest | ||
ocaml-compiler: | ||
- 5.2.x | ||
- 5.3.x | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This workflow file is named 'more-ci' and is used to run additional CI checks | ||
# that complement the main CI workflow. It ensures that our code is tested | ||
# across multiple operating systems and OCaml compiler versions. | ||
# | ||
# Compared to the main 'ci.yml' job, this skips some steps that are not | ||
# necessary to check for every combination of os and ocaml-compiler, such as | ||
# generating coverage report, linting odoc, opam and fmt, etc. | ||
# | ||
# We prefer to keep it separate from the main CI workflow because we find it | ||
# more readable, over having too many conditional steps in the same job. | ||
|
||
name: more-ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- "**" # This will match pull requests targeting any branch | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
# We currently disabled macos because of test failures that requires further investigations. | ||
# - macos-latest | ||
- ubuntu-latest | ||
ocaml-compiler: | ||
- 5.3.x | ||
- 5.2.x | ||
exclude: | ||
# We exclude the combination already tested in the 'ci' workflow. | ||
- os: ubuntu-latest | ||
ocaml-compiler: 5.3.x | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup OCaml | ||
uses: ocaml/setup-ocaml@v3 | ||
with: | ||
ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
opam-repositories: | | ||
default: https://github.com/ocaml/opam-repository.git | ||
mbarbin: https://github.com/mbarbin/opam-repository.git | ||
# janestreet-bleeding: https://github.com/janestreet/opam-repository.git | ||
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages | ||
|
||
# We build and run tests for a subset of packages. More tests are run in | ||
# the development workflow and as part of the main CI job. These are the | ||
# tests that are checked for every combination of os and ocaml-compiler. | ||
- name: Install dependencies | ||
run: opam install ./vcs.opam ./vcs-base.opam ./vcs-command.opam ./vcs-git-blocking.opam ./vcs-git-eio.opam ./vcs-git-provider.opam ./vcs-test-helpers.opam ./vcs-tests.opam --deps-only --with-test | ||
|
||
- name: Build & Run tests | ||
run: opam exec -- dune build @all @runtest -p vcs,vcs-base,vcs-command,vcs-git-blocking,vcs-git-eio,vcs-git-provider,vcs-test-helpers,vcs-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
version=0.27.0 | ||
ocaml-version=5.2 | ||
profile=janestreet | ||
parse-docstrings=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(mdx | ||
(package vcs-tests) | ||
(package vcs-dev) | ||
(deps | ||
(package vcs) | ||
(package vcs-command)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,27 +20,27 @@ | |
(*******************************************************************************) | ||
|
||
(* This module is partially derived from Iron (v0.9.114.44+47), file | ||
* [./hg/hg.ml], which is released under Apache 2.0: | ||
* | ||
* Copyright (c) 2016-2017 Jane Street Group, LLC <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at: | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* See the file `NOTICE.md` at the root of this repository for more details. | ||
* | ||
* Changes: This has similarities with the module [Hg.Status]. We added support | ||
* for renames, removed support for [Changed_by Rev.t], added [similarity] values | ||
* which are available in Git. | ||
* [./hg/hg.ml], which is released under Apache 2.0: | ||
* | ||
* Copyright (c) 2016-2017 Jane Street Group, LLC <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at: | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* See the file `NOTICE.md` at the root of this repository for more details. | ||
* | ||
* Changes: This has similarities with the module [Hg.Status]. We added support | ||
* for renames, removed support for [Changed_by Rev.t], added [similarity] values | ||
* which are available in Git. | ||
*) | ||
|
||
open! Import | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,26 +20,26 @@ | |
(*_******************************************************************************) | ||
|
||
(*_ This module is partially derived from Iron (v0.9.114.44+47), file | ||
* [./hg/hg.mli], which is released under Apache 2.0: | ||
* | ||
* Copyright (c) 2016-2017 Jane Street Group, LLC <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at: | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* See the file `NOTICE.md` at the root of this repository for more details. | ||
* | ||
* The file [name_status.ml] contains a detailed description of the changes made | ||
* to the original file. | ||
* [./hg/hg.mli], which is released under Apache 2.0: | ||
* | ||
* Copyright (c) 2016-2017 Jane Street Group, LLC <[email protected]> | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at: | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* See the file `NOTICE.md` at the root of this repository for more details. | ||
* | ||
* The file [name_status.ml] contains a detailed description of the changes made | ||
* to the original file. | ||
*) | ||
|
||
module Change : sig | ||
|
Oops, something went wrong.