Files
qdrant/tests/openapi_integration_test.sh
Andrey Vasnetsov f5feff8080 Validated integration tests - #232
* wip: re-implement http tests using openapi validation library

* collection delete api

* payload operations test

* payload delete operations test

* payload index creation and removing test

* uuid operations test

* schema consistency test

* add tests into pipeline

* chmod +x

* faster local runs with docker cache

* upd instruction
2022-02-11 16:43:47 +01:00

15 lines
357 B
Bash
Executable File

#!/bin/bash
set -ex
# Ensure current path is project root
cd "$(dirname "$0")/../"
cp docs/redoc/master/openapi.json openapi/tests/openapi.json
docker run --rm \
--network=host \
-e OPENAPI_FILE='openapi.json' \
-v ${PWD}/openapi/tests:/code \
$(docker build -q ./openapi/tests) sh -c /code/run_docker.sh