feat: run frontend tests with api build from the same branch (#2137)

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2137
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
This commit is contained in:
kolaente
2024-02-27 18:06:34 +00:00
committed by konrad
parent 1275dfc260
commit 5d127c2897
3 changed files with 53 additions and 58 deletions

View File

@@ -158,7 +158,7 @@ func setRootPath() {
func setGoFiles() {
// GOFILES := $(shell find . -name "*.go" -type f ! -path "*/bindata.go")
files, err := runCmdWithOutput("find", ".", "-name", "*.go", "-type", "f", "!", "-path", "*/bindata.go")
files, err := runCmdWithOutput("find", "./pkg", "-name", "*.go", "-type", "f", "!", "-path", "*/bindata.go")
if err != nil {
fmt.Printf("Error getting go files: %s\n", err)
os.Exit(1)