mirror of
https://github.com/dnote/dnote
synced 2026-03-18 00:09:56 +01:00
parent
23a511dbe0
commit
75d1cb42e8
11 changed files with 506 additions and 612 deletions
|
|
@ -1,8 +1,13 @@
|
|||
#!/bin/bash
|
||||
# shellcheck disable=SC1090
|
||||
# test-local.sh runs api tests using local setting
|
||||
set -eux
|
||||
|
||||
basePath=$GOPATH/src/github.com/dnote/dnote/pkg/server/api
|
||||
|
||||
export $(cat "$basePath"/.env.test | xargs)
|
||||
|
||||
set -a
|
||||
source "$basePath"/.env.test
|
||||
set +a
|
||||
|
||||
"$basePath"/scripts/test.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue