• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ocaml / dune / 28911
7%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2024 06:16PM UTC
Jobs 1
Files 546
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2024 06:06PM UTC coverage: 6.913% (-0.004%) from 6.917%
28911

push

github

web-flow
pkg: Use `filtered_formula` to represent dependencies (#10918)

* pkg: Pass-through `filtered_formula` from opam files to solver

The `Dependency_set.t` representation can't deal with disjunctions but
in most cases that is not even necessary as the set gets turned into a
`filtered_formula` again. Thus it might be easier to keep the original
representation and implement the necessary dependency set functionality
on top of that.

Signed-off-by: Marek Kubica <marek@tarides.com>

* Remove unused `Dependency_set`

Signed-off-by: Marek Kubica <marek@tarides.com>

* Add a test showing that the disjunction in OPAM files is supported now

Signed-off-by: Marek Kubica <marek@tarides.com>

* Move `filtered_formula` into our own module

Signed-off-by: Marek Kubica <marek@tarides.com>

* Determine the hash from the Sexp

Signed-off-by: Marek Kubica <marek@tarides.com>

* Move reachability into the formula

Signed-off-by: Marek Kubica <marek@tarides.com>

* Add test for dependency formula changes

Signed-off-by: Marek Kubica <marek@tarides.com>

* Clean up the awkward API

Signed-off-by: Marek Kubica <marek@tarides.com>

* Promote expected hash changes

Signed-off-by: Marek Kubica <marek@tarides.com>

* Update the test wording and show the difference

Signed-off-by: Marek Kubica <marek@tarides.com>

* test(pkg): demonstrate unreachable packages being included

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Marek Kubica <marek@tarides.com>

* Do not include post dependencies in reachable packages

Signed-off-by: Marek Kubica <marek@tarides.com>

* Replace sexp by dyn

Signed-off-by: Marek Kubica <marek@tarides.com>

* Promote expected hash changes

Signed-off-by: Marek Kubica <marek@tarides.com>

* `post` deps are excluded now

Signed-off-by: Marek Kubica <marek@tarides.com>

* Simplify

Signed-off-by: Marek Kubica <marek@tarides.com>

* Use `Resolve_opam_formula` to determine depe... (continued)

0 of 58 new or added lines in 6 files covered. (0.0%)

4 existing lines in 3 files now uncovered.

2933 of 42427 relevant lines covered (6.91%)

26850.21 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
6.78
0.0% src/dune_pkg/lock_dir.ml
2
0.0
0.0% src/dune_pkg_outdated/dune_pkg_outdated.ml
10
1.95
-0.05% src/dune_pkg/package_universe.ml
14
1.79
0.25% src/dune_pkg/local_package.ml
15
0.0
src/dune_pkg/dependency_formula.ml
16
0.24
-0.01% src/dune_pkg/opam_solver.ml

Uncovered Existing Lines

Lines Coverage ∆ File
1
1.79
0.25% src/dune_pkg/local_package.ml
1
6.78
0.0% src/dune_pkg/lock_dir.ml
2
0.24
-0.01% src/dune_pkg/opam_solver.ml
Jobs
ID Job ID Ran Files Coverage
1 28911.1 03 Nov 2024 06:16PM UTC 546
6.91
GitHub Action Run
Source Files on build 28911
  • Tree
  • List 546
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b4099636 on github
  • Prev Build on main (#28906)
  • Next Build on main (#28924)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc