osbuild-auth-tests: add a build constraint also to certificates.go
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>
This commit is contained in:
parent
ab3990b90a
commit
68410e0a4c
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
// +build integration
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue