Skip to content

Commit aed65dc

Browse files
committed
fix(tests): set backends path consistently
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 0efad27 commit aed65dc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ jobs:
212212
export CC=/opt/homebrew/opt/llvm/bin/clang
213213
# Used to run the newer GNUMake version from brew that supports --output-sync
214214
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
215-
PATH="$PATH:$HOME/go/bin" BUILD_TYPE="GITHUB_CI_HAS_BROKEN_METAL" CMAKE_ARGS="-DGGML_F16C=OFF -DGGML_AVX512=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF" make --jobs 4 --output-sync=target protogen-go test
215+
PATH="$PATH:$HOME/go/bin" make protogen-go
216+
PATH="$PATH:$HOME/go/bin" BUILD_TYPE="GITHUB_CI_HAS_BROKEN_METAL" CMAKE_ARGS="-DGGML_F16C=OFF -DGGML_AVX512=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF" make --jobs 4 --output-sync=target test
216217
- name: Setup tmate session if tests fail
217218
if: ${{ failure() }}
218219
uses: mxschmitt/[email protected]

core/http/app_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ var _ = Describe("API test", func() {
337337
config.WithContext(c),
338338
config.WithGalleries(galleries),
339339
config.WithModelPath(modelDir),
340+
config.WithBackendsPath(backendAssetsDir),
340341
config.WithApiKeys([]string{apiKey}),
341342
config.WithBackendAssets(backendAssets),
342343
config.WithBackendAssetsOutput(backendAssetsDir))...)
@@ -540,6 +541,7 @@ var _ = Describe("API test", func() {
540541
append(commonOpts,
541542
config.WithContext(c),
542543
config.WithGeneratedContentDir(tmpdir),
544+
config.WithBackendsPath(backendAssetsDir),
543545
config.WithGalleries(galleries),
544546
config.WithModelPath(modelDir),
545547
config.WithBackendAssets(backendAssets),

0 commit comments

Comments
 (0)