Skip to content

Commit a494675

Browse files
committed
ci: build native lib in the Coverage job too
The Coverage Report job runs 'mvn -P jacoco test' on core but had no native build step, so after dropping the committed binaries it failed to load libquestdb.so (NoClassDefFound in io.questdb.client.std.*). Add the build_native.yaml template before the coverage test run, matching the BuildAndTest job. The job runs on Linux, so it compiles libquestdb.so.
1 parent 97d39c1 commit a494675

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ci/run_tests_pipeline.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ stages:
150150
maven | "$(Agent.OS)"
151151
path: $(HOME)/.m2/repository
152152
displayName: "Cache Maven repository"
153+
# Native binaries are no longer committed; compile libquestdb.so on the
154+
# runner so the coverage test run can load it (same as BuildAndTest).
155+
- template: build_native.yaml
153156
- task: Maven@3
154157
displayName: "Run tests with coverage"
155158
inputs:

0 commit comments

Comments
 (0)