bcoe / bcoe/c8

Coverage output in Github Action is different to when run locally

Open
#566 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.