Added key after creation
@@ -8,4 +8,5 @@ before_install:
script:
- nohup go run ./cmd/weaviate-server/main.go --scheme=http --port=8080 --host=127.0.0.1 &
- sleep 12
- - go test -v ./test
\ No newline at end of file
+ - WEAVIATEKEY=$(grep "ROOTKEY=" nohup.out | cut -d "=" -f 2)
+ - go test -v ./test -args -api-key=$WEAVIATEKEY
\ No newline at end of file
