Skip to content

fix(ci): code coverage on C files is enough - #190

Merged
Tieske merged 1 commit into
lunarmodules:masterfrom
luau-project:ci
Aug 20, 2026
Merged

Tieske merged 1 commit into
lunarmodules:masterfrom
luau-project:ci

Conversation

@luau-project

Copy link
Copy Markdown
Member

Description

On comment #189 (comment), I was recommended to exclude tests/test.lua from the coverage analysis, because LuaFileSystem is a pure C library and tests/test.lua is just the test driver, not the lib source.

Thus, to discard tests/test.lua from the cov analysis, there is no need to run luacov in the project anymore. It is enough to run test suite (lua tests/test.lua) to collect cov stats. Then, gcov is ran to generate the final report (lfs.c.gcov) to be sent to coveralls.io.

@Tieske
Tieske merged commit 5e9ce1c into lunarmodules:master Aug 20, 2026
9 checks passed
@luau-project
luau-project deleted the ci branch August 20, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants