mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
fix (build): unit test - search stores data in a folder that needs to exist when test are run
This commit is contained in:
parent
3553af94f6
commit
ec4b7d236f
1 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ steps:
|
|||
- mv server/plugin/plg_* ../plugin
|
||||
- go get -t ./server/...
|
||||
- go build -ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o dist/filestash server/main.go
|
||||
- timeout 1 ./dist/filestash || true
|
||||
|
||||
- name: build_js
|
||||
image: node:8-alpine
|
||||
|
|
@ -55,7 +56,7 @@ steps:
|
|||
- apk --no-cache add git gcc libc-dev poppler-utils > /dev/null 2>&1
|
||||
- cp ../test/assets/* /tmp/
|
||||
- go get -t ../test/unit_go/...
|
||||
- go test --tags "fts5" ../test/unit_go/...
|
||||
- go test -v --tags "fts5" ../test/unit_go/...
|
||||
|
||||
- name: test_js
|
||||
image: node:8-alpine
|
||||
|
|
|
|||
Loading…
Reference in a new issue