Tests: Update GOFLAGS for tests

Existing GOFLAGS system variable has been updated and now it contains:
-mod=vendor
-tags=exclude_graphdriver_btrfs
This commit is contained in:
Paweł Poławski 2024-02-17 09:20:59 +01:00
parent a422c95237
commit b56a763f50
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
summary: Run unit tests
require:
- golang
test: cd ../osbuild-composer-*/ && sudo dnf builddep -y osbuild-composer.spec && GOFLAGS=-mod=vendor go test ./...
test: cd ../osbuild-composer-*/ && sudo dnf builddep -y osbuild-composer.spec && GOFLAGS="-mod=vendor -tags=exclude_graphdriver_btrfs" go test ./...
duration: 1h