Skip to content

Coverage output in Github Action is different to when run locallyΒ #566

@rubengmurray

Description

@rubengmurray

First of, I don't know whether this is within scope of c8 or not, but I'm sharing here anyway for further input / visibility.

NOTE: Our test suite is run via the same npm scripts - which control the choreography of downloading all docker containers + spinning up the server in the same order - in Github vs Local so I see no reason why the metric should be different, but here is the output.

Local:

Image

Github Action

Image

Process:

  • Run test script
  • Script pulls down required docker dependencies
  • Spin up node server
  • Test APIs from mocha
  • Use c8 to track test coverage

Anyone seen this before / any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions