Makefile: implement make db-tests

enables the option to run the DB tests locally
that are executed in the github actions
This commit is contained in:
Florian Schüller 2024-10-23 14:33:45 +02:00 committed by Florian Schüller
parent 1f8da3bd83
commit 00d3f07d08
8 changed files with 74 additions and 18 deletions

5
tools/dbtest-entrypoint.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
go version
go test -tags=integration ./cmd/osbuild-composer-dbjobqueue-tests
go test -tags=integration ./cmd/osbuild-service-maintenance