Skip to content

[bug]: run unit tests (btcd unit-cover) failure due to build tag mismatch  #7362

@Roasbeef

Description

@Roasbeef

Background

A test run for one of my PRs failed with:

Error: cannot read source of file "/home/runner/work/lnd/lnd/kvdb/postgres/db_conn_set.go": open /home/runner/work/lnd/lnd/kvdb/postgres/db_conn_set.go: no such file or directory
Error: Error: The process '/home/runner/work/_actions/shogo82148/actions-goveralls/v1/bin/goveralls_linux_amd64' failed with exit code 1

It looks like the postgres file it thinks should be there isn't (due to lack of a set build tag?), so even though the tests pass, it fails on sending out the coverage report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended code behaviourtests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions