These tests can be run only in our CI environment, and not as pure unit tests launched by go test ./... Let's make sure that all files that belong to these tests are properly marked with build constraints. This should fix the following error in Coverity Scan runs: # github.com/osbuild/osbuild-composer/cmd/osbuild-auth-tests runtime.main_main·f: function main is undeclared in the main package Warning: Build command go build -o bin/ ./... exited with code 2. Please verify that the build completed successfully. See https://github.com/osbuild/osbuild-composer/runs/4427232580?check_suite_focus=true Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| certificates.go | ||
| main_test.go | ||