Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bisect_ppx 2.8.3: code coverage for OCaml #24117

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions packages/bisect_ppx/bisect_ppx.2.8.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"

synopsis: "Code coverage for OCaml"
license: "MIT"
homepage: "https://github.com/aantron/bisect_ppx"
doc: "https://github.com/aantron/bisect_ppx"
bug-reports: "https://github.com/aantron/bisect_ppx/issues"

dev-repo: "git+https://github.com/aantron/bisect_ppx.git"
authors: [
"Xavier Clerc <bisect@x9c.fr>"
"Leonid Rozenberg <leonidr@gmail.com>"
"Anton Bachin <antonbachin@yahoo.com>"
]
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
"Leonid Rozenberg <leonidr@gmail.com>"
]

depends: [
"base-unix"
"cmdliner" {>= "1.0.0"}
"dune" {>= "2.7.0"}
"ocaml" {>= "4.03.0"}
"ppxlib" {>= "0.28.0"}

"dune" {with-test & >= "3.0.0"}
"ocamlformat" {with-test & = "0.16.0"}
Copy link
Member

@mseri mseri Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This constraint prevent to run the tests in all CI jobs:

  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.1 -> ocaml = 4.14.1
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> ocaml < 4.13
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 4.14.1
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> ocaml < 4.13 -> ocaml-base-compiler = 3.10.2
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> ocaml < 4.13 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'

No solution found, exiting
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.12.1 -> ocaml = 4.12.1
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> ocaml < 4.09.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - bisect_ppx >= 2.8.3 -> dune >= 3.0.0
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.12.1
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> ocaml < 4.12 -> ocaml-variants >= 4.11.3
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler < 3.07+1 | ocaml-system < 3.07+1 | ocaml-variants < 3.8~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions: 'sys-ocaml-version = "3.07"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.07+1 | ocaml-system = 3.07+1 | ocaml-variants < 3.8~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions: 'sys-ocaml-version = "3.07+1"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.07+2 | ocaml-system = 3.07+2 | ocaml-variants < 3.8~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions: 'sys-ocaml-version = "3.07+2"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.08.0 | ocaml-system >= 3.08.0 | ocaml-variants < 3.08.1~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.0"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.08.1 | ocaml-system >= 3.08.1 | ocaml-variants < 3.08.2~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.1"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.08.2 | ocaml-system >= 3.08.2 | ocaml-variants < 3.08.3~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.2"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.08.3 | ocaml-system >= 3.08.3 | ocaml-variants < 3.08.4~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.3"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.08.4 | ocaml-system >= 3.08.4 | ocaml-variants < 3.08.5~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.08.4"'
    no matching version
  * Missing dependency:
    - bisect_ppx >= 2.8.3 -> ocamlformat = 0.16.0 -> odoc < 2.0.0 -> doc-ock -> ocaml < 4.04 -> ocaml-base-compiler = 3.09.0 | ocaml-system >= 3.09.0 | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 4.12.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "3.09.0"'
    no matching version

]

build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "build" "-p" name "-j" jobs "@compatible"] {with-test}
]

description: "Bisect_ppx helps you test thoroughly. It is a small preprocessor
that inserts instrumentation at places in your code, such as if-then-else and
match expressions. After you run tests, Bisect_ppx gives a nice HTML report
showing which places were visited and which were missed.

Usage is simple - add package bisect_ppx when building tests, run your tests,
then run the Bisect_ppx report tool on the generated visitation files."

url {
src: "https://github.com/aantron/bisect_ppx/archive/2.8.3.tar.gz"
checksum: "md5=8c755c13e8d90f665986d842a41669f5"
}