Skip to content

Confused about excluding/linking coverage files with Melange+Dune #402

Description

@mlms13

I recently updated Relude to build with Melange (which uses Dune). You can see the latest coverage report on Coveralls. Specifically, you can see that the file tree looks like this:

image

I have two questions about this, which may or may not be related:

  1. Is it possible to hide the node_modules and __tests__ within the _build directory from the coverage report? In my bsconfig.json, I already have this, but it doesn't seem to be ignoring the _test.re files:
    "ppx-flags": [
      [
        "bisect_ppx/ppx",
        "--exclude-files",
        ".*_test.re$$"
      ]
    ]
  2. Is it possible to get the Coveralls report to link to the files? It's picking up on the source files that got copied to _build (which isn't checked in) instead of the ones in src, so the Coveralls file view just says "Source not available."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions